mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-30 12:43:41 +01:00
Move REFIT_CONFIG in Settings.
This commit is contained in:
parent
4a9a99873d
commit
3475414580
@ -146,31 +146,7 @@ EMU_VARIABLE_CONTROL_PROTOCOL *gEmuVariableControl = NULL;
|
||||
extern BOOLEAN NeedPMfix;
|
||||
|
||||
//extern INTN OldChosenAudio;
|
||||
/*
|
||||
typedef struct {
|
||||
INTN Timeout;
|
||||
UINTN DisableFlags;
|
||||
BOOLEAN TextOnly;
|
||||
BOOLEAN Quiet;
|
||||
BOOLEAN LegacyFirst;
|
||||
BOOLEAN NoLegacy;
|
||||
BOOLEAN DebugLog;
|
||||
BOOLEAN FastBoot;
|
||||
BOOLEAN NeverHibernate;
|
||||
BOOLEAN StrictHibernate;
|
||||
BOOLEAN RtcHibernateAware;
|
||||
BOOLEAN HibernationFixup;
|
||||
BOOLEAN SignatureFixup;
|
||||
CHAR16 *Theme;
|
||||
CHAR16 *ScreenResolution;
|
||||
INTN ConsoleMode;
|
||||
BOOLEAN CustomIcons;
|
||||
INTN IconFormat;
|
||||
BOOLEAN NoEarlyProgress;
|
||||
INT32 Timezone;
|
||||
BOOLEAN ShowOptimus;
|
||||
} REFIT_CONFIG;
|
||||
*/
|
||||
|
||||
// global configuration with default values
|
||||
REFIT_CONFIG GlobalConfig = {
|
||||
-1, // INTN Timeout;
|
||||
|
@ -680,6 +680,39 @@ extern EFI_GUID gUuid;
|
||||
extern EMU_VARIABLE_CONTROL_PROTOCOL *gEmuVariableControl;
|
||||
|
||||
|
||||
//
|
||||
// config module
|
||||
//
|
||||
|
||||
typedef struct {
|
||||
INTN Timeout;
|
||||
UINTN DisableFlags; //to disable some volume types (optical, firewire etc)
|
||||
BOOLEAN TextOnly;
|
||||
BOOLEAN Quiet;
|
||||
BOOLEAN LegacyFirst;
|
||||
BOOLEAN NoLegacy;
|
||||
BOOLEAN DebugLog;
|
||||
BOOLEAN FastBoot;
|
||||
BOOLEAN NeverHibernate;
|
||||
BOOLEAN StrictHibernate;
|
||||
BOOLEAN RtcHibernateAware;
|
||||
BOOLEAN HibernationFixup;
|
||||
BOOLEAN SignatureFixup;
|
||||
CHAR16 *Theme;
|
||||
CHAR16 *ScreenResolution;
|
||||
INTN ConsoleMode;
|
||||
BOOLEAN CustomIcons;
|
||||
INTN IconFormat;
|
||||
BOOLEAN NoEarlyProgress;
|
||||
INT32 Timezone;
|
||||
BOOLEAN ShowOptimus;
|
||||
INTN Codepage;
|
||||
INTN CodepageSize;
|
||||
} REFIT_CONFIG;
|
||||
|
||||
|
||||
extern REFIT_CONFIG GlobalConfig;
|
||||
|
||||
|
||||
EFI_STATUS
|
||||
SetFSInjection (
|
||||
|
@ -275,32 +275,6 @@ typedef enum {
|
||||
#define HDBADGES_INLINE (1<<2)
|
||||
|
||||
|
||||
typedef struct {
|
||||
INTN Timeout;
|
||||
UINTN DisableFlags; //to disable some volume types (optical, firewire etc)
|
||||
BOOLEAN TextOnly;
|
||||
BOOLEAN Quiet;
|
||||
BOOLEAN LegacyFirst;
|
||||
BOOLEAN NoLegacy;
|
||||
BOOLEAN DebugLog;
|
||||
BOOLEAN FastBoot;
|
||||
BOOLEAN NeverHibernate;
|
||||
BOOLEAN StrictHibernate;
|
||||
BOOLEAN RtcHibernateAware;
|
||||
BOOLEAN HibernationFixup;
|
||||
BOOLEAN SignatureFixup;
|
||||
CHAR16 *Theme;
|
||||
CHAR16 *ScreenResolution;
|
||||
INTN ConsoleMode;
|
||||
BOOLEAN CustomIcons;
|
||||
INTN IconFormat;
|
||||
BOOLEAN NoEarlyProgress;
|
||||
INT32 Timezone;
|
||||
BOOLEAN ShowOptimus;
|
||||
INTN Codepage;
|
||||
INTN CodepageSize;
|
||||
} REFIT_CONFIG;
|
||||
|
||||
// types
|
||||
#define ANIME_INFINITE ((UINTN)-1)
|
||||
//some unreal values
|
||||
@ -495,12 +469,6 @@ extern XObjArray<REFIT_VOLUME> Volumes;
|
||||
#endif
|
||||
|
||||
|
||||
//
|
||||
// config module
|
||||
//
|
||||
|
||||
extern REFIT_CONFIG GlobalConfig;
|
||||
|
||||
//
|
||||
// BmLib
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user