X-Git-Url: https://code.delx.au/refind/blobdiff_plain/69c4acfcdc7121bc0d4f5386910545f4caf134f2..300e67d4b35f795953cbd8e3eaaec58034ab8c18:/refind/global.h diff --git a/refind/global.h b/refind/global.h index d35f9b0..ad8e172 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"