-//TODO: may want to make this configurable via config file
-//static UINT16 SupportedLegacyDevices[] = {BBS_HARDDISK, BBS_CDROM, BBS_USB};
+// BIOS Boot Specification (BBS) device types, as returned in DevicePath->Type field
+#define DEVICE_TYPE_HW 0x01
+#define DEVICE_TYPE_ACPI 0x02 /* returned by UEFI boot loader on USB */
+#define DEVICE_TYPE_MESSAGING 0x03
+#define DEVICE_TYPE_MEDIA 0x04 /* returned by EFI boot loaders on hard disk */
+#define DEVICE_TYPE_BIOS 0x05 /* returned by legacy (BIOS) boot loaders */
+#define DEVICE_TYPE_END 0x75 /* end of path */
+
+// Filesystem type identifiers. Not all are yet used....
+#define FS_TYPE_UNKNOWN 0
+#define FS_TYPE_FAT 1
+#define FS_TYPE_EXT2 2
+#define FS_TYPE_EXT3 3
+#define FS_TYPE_EXT4 4
+#define FS_TYPE_HFSPLUS 5
+#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"