X-Git-Url: https://code.delx.au/refind/blobdiff_plain/ea0768929fa3b215a77375130c19ae0710947400..2ede1b8a25d32e057bcb9d246a9fd855a09bfc7c:/refind/global.h diff --git a/refind/global.h b/refind/global.h index d35f9b0..1b2a7f9 100644 --- a/refind/global.h +++ b/refind/global.h @@ -76,7 +76,8 @@ #define TAG_GDISK (16) #define TAG_NETBOOT (17) #define TAG_CSR_ROTATE (18) -#define NUM_TOOLS (19) +#define TAG_FWUPDATE_TOOL (19) +#define NUM_TOOLS (20) #define NUM_SCAN_OPTIONS 10 @@ -150,6 +151,16 @@ // Names of binaries that can manage MOKs.... #define MOK_NAMES L"MokManager.efi,HashTool.efi,HashTool-signed.efi,KeyTool.efi,KeyTool-signed.efi" +// Names of binaries that can update firmware.... +#if defined (EFIX64) +#define FWUPDATE_NAMES L"fwupx64.efi" +#elif defined(EFI32) +#define FWUPDATE_NAMES L"fwupia32.efi" +#elif defined(EFIAARCH64) +#define FWUPDATE_NAMES L"fwupaa64.efi" +#else +#define FWUPDATE_NAMES L"fwup.efi" +#endif // Directories to search for these MOK-managing programs. Note that SelfDir is // searched in addition to these locations.... #define MOK_LOCATIONS L"\\,EFI\\tools,EFI\\fedora,EFI\\redhat,EFI\\ubuntu,EFI\\suse,EFI\\opensuse,EFI\\altlinux" @@ -322,6 +333,7 @@ typedef struct { UINT32_LIST *CsrValues; UINTN ShowTools[NUM_TOOLS]; CHAR8 ScanFor[NUM_SCAN_OPTIONS]; // codes of types of loaders for which to scan + BOOLEAN EnableTouch; } REFIT_CONFIG; // Global variables