X-Git-Url: https://code.delx.au/refind/blobdiff_plain/e3d2b4a15b8e4a6e7d6e3a6421270fccfb06c4f0..999e9b76afa9e57b16b54da313a46bdcf08dc412:/refind/global.h diff --git a/refind/global.h b/refind/global.h index 5058d9d..3b22f1d 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" @@ -148,7 +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} }; +#define NULL_GUID_VALUE { 0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} }; +#define REFIND_GUID_VALUE { 0x36D08FA7, 0xCF0B, 0x42F5, {0x8F, 0x14, 0x68, 0xDF, 0x73, 0xED, 0x37, 0x40} }; // // global definitions @@ -174,6 +175,7 @@ typedef struct { EFI_HANDLE DeviceHandle; EFI_FILE *RootDir; CHAR16 *VolName; + CHAR16 *PartName; EFI_GUID VolUuid; EFI_GUID PartGuid; UINTN VolNumber; @@ -235,9 +237,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; @@ -245,6 +247,7 @@ typedef struct { typedef struct { BOOLEAN TextOnly; BOOLEAN ScanAllLinux; + BOOLEAN DeepLegacyScan; UINTN RequestedScreenWidth; UINTN RequestedScreenHeight; UINTN BannerBottomEdge;