X-Git-Url: https://code.delx.au/refind/blobdiff_plain/4677259a82b13dd1ab9fb6696d0ffe8976aeae34..9a669ad3b5fb341500d76d487c38a7102eb01b3d:/refind/global.h diff --git a/refind/global.h b/refind/global.h index c45acda..e7aee62 100644 --- a/refind/global.h +++ b/refind/global.h @@ -50,8 +50,8 @@ #include #else #include "../include/tiano_includes.h" -#include "../EfiLib/GenericBdsLib.h" #endif +#include "../EfiLib/GenericBdsLib.h" #include "libeg.h" @@ -73,7 +73,8 @@ #define TAG_MOK_TOOL (13) #define TAG_FIRMWARE (14) #define TAG_MEMTEST (15) -#define NUM_TOOLS (16) +#define TAG_GDISK (16) +#define NUM_TOOLS (17) #define NUM_SCAN_OPTIONS 10 @@ -147,6 +148,8 @@ // Files that may be Windows recovery files #define WINDOWS_RECOVERY_FILES L"EFI\\Microsoft\\Boot\\LrsBootmgr.efi" +#define NULL_GUID_VALUE { 00000000, 0000, 0000, {0000, 0000, 0000, 0000} }; + // // global definitions // @@ -171,7 +174,9 @@ typedef struct { EFI_HANDLE DeviceHandle; EFI_FILE *RootDir; CHAR16 *VolName; + CHAR16 *PartName; EFI_GUID VolUuid; + EFI_GUID PartGuid; UINTN VolNumber; EG_IMAGE *VolIconImage; EG_IMAGE *VolBadgeImage; @@ -231,9 +236,9 @@ typedef struct { typedef struct { REFIT_MENU_ENTRY me; REFIT_VOLUME *Volume; -#ifndef __MAKEWITH_GNUEFI +//#ifndef __MAKEWITH_GNUEFI BDS_COMMON_OPTION *BdsOption; -#endif +//#endif CHAR16 *LoadOptions; BOOLEAN Enabled; } LEGACY_ENTRY; @@ -241,6 +246,7 @@ typedef struct { typedef struct { BOOLEAN TextOnly; BOOLEAN ScanAllLinux; + BOOLEAN DeepLegacyScan; UINTN RequestedScreenWidth; UINTN RequestedScreenHeight; UINTN BannerBottomEdge;