]> code.delx.au - refind/blobdiff - refind/global.h
Split off fwupx64.efi file from main loaders into second-row loaders;
[refind] / refind / global.h
index d35f9b0677ae9572273218690ec449ea55f7ceaa..ad8e17234239e2b42a9791f86a690b7bfd9423e9 100644 (file)
@@ -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
 
 
 // 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"