* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
- * Modifications copyright (c) 2012 Roderick W. Smith
+ * Modifications copyright (c) 2012-2013 Roderick W. Smith
*
* Modifications distributed under the terms of the GNU General Public
* License (GPL) version 3 (GPLv3), a copy of which must be distributed
#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_EXT4 4
#define FS_TYPE_HFSPLUS 5
#define FS_TYPE_REISERFS 6
-#define FS_TYPE_ISO9660 7
+#define FS_TYPE_BTRFS 7
+#define FS_TYPE_ISO9660 8
+
+// 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\\opensuse,EFI\\altlinux"
//
// global definitions
UINTN GraphicsFor;
UINTN LegacyType;
UINTN ScanDelay;
+ UINTN ScreensaverTime;
CHAR16 *BannerFileName;
EG_IMAGE *ScreenBackground;
CHAR16 *SelectionSmallFileName;
LOADER_ENTRY * AddLoaderEntry(IN CHAR16 *LoaderPath, IN CHAR16 *LoaderTitle, IN REFIT_VOLUME *Volume);
VOID SetLoaderDefaults(LOADER_ENTRY *Entry, CHAR16 *LoaderPath, IN REFIT_VOLUME *Volume);
LOADER_ENTRY * AddPreparedLoaderEntry(LOADER_ENTRY *Entry);
+VOID disable_secure_boot(VOID);
#endif