#define TAG_LEGACY_UEFI (10)
#define TAG_APPLE_RECOVERY (11)
#define TAG_MOK_TOOL (12)
-#define NUM_TOOLS (11)
+#define TAG_FIRMWARE (13)
+#define NUM_TOOLS (13)
#define NUM_SCAN_OPTIONS 10
#define FS_TYPE_REISERFS 6
#define FS_TYPE_ISO9660 7
+// Names of binaries that can manage MOKs....
+#define MOK_NAMES L"MokManager.efi,HashTool.efi,HashTool-signed.efi"
+// 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\\altlinux"
+
//
// global definitions
//
EFI_HANDLE DeviceHandle;
EFI_FILE *RootDir;
CHAR16 *VolName;
+ UINTN VolNumber;
EG_IMAGE *VolIconImage;
EG_IMAGE *VolBadgeImage;
UINTN DiskKind;
BOOLEAN ScanAllLinux;
UINTN RequestedScreenWidth;
UINTN RequestedScreenHeight;
+ UINTN BannerBottomEdge;
UINTN RequestedTextMode;
UINTN Timeout;
UINTN HideUIFlags;
UINTN GraphicsFor;
UINTN LegacyType;
UINTN ScanDelay;
+ UINTN ScreensaverTime;
CHAR16 *BannerFileName;
+ EG_IMAGE *ScreenBackground;
CHAR16 *SelectionSmallFileName;
CHAR16 *SelectionBigFileName;
CHAR16 *DefaultSelection;