mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-02-18 01:21:57 +01:00
quirky but working
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
parent
bdc977d14f
commit
5709ec8c2c
@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "Platform.h"
|
#include <Platform.h>
|
||||||
|
|
||||||
|
|
||||||
#ifndef DEBUG_ALL
|
#ifndef DEBUG_ALL
|
||||||
@ -26,6 +26,8 @@
|
|||||||
|
|
||||||
#define CREATE_NEW_BOOT_IMAGE 1
|
#define CREATE_NEW_BOOT_IMAGE 1
|
||||||
|
|
||||||
|
extern XObjArray<REFIT_VOLUME> Volumes;
|
||||||
|
|
||||||
#pragma pack(push, 1)
|
#pragma pack(push, 1)
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -26,6 +26,8 @@ Copyright (c) 2006 JLA
|
|||||||
#define DBG(...) DebugLog(0, __VA_ARGS__) // until a better solution is found, force DebugLog(0, ...) to prevent saving to DebugLog, which may cause legacy boot to fail
|
#define DBG(...) DebugLog(0, __VA_ARGS__) // until a better solution is found, force DebugLog(0, ...) to prevent saving to DebugLog, which may cause legacy boot to fail
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern XObjArray<REFIT_VOLUME> Volumes;
|
||||||
|
|
||||||
#pragma pack(push)
|
#pragma pack(push)
|
||||||
#pragma pack(1)
|
#pragma pack(1)
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
#define DBG(...) DebugLog (DEBUG_SET, __VA_ARGS__)
|
#define DBG(...) DebugLog (DEBUG_SET, __VA_ARGS__)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern XObjArray<REFIT_VOLUME> Volumes;
|
||||||
|
|
||||||
// for saving nvram.plist and it's data
|
// for saving nvram.plist and it's data
|
||||||
TagPtr gNvramDict;
|
TagPtr gNvramDict;
|
||||||
|
@ -1738,6 +1738,9 @@ extern CONST CHAR16 *gFirmwareRevision;
|
|||||||
extern BOOLEAN ResumeFromCoreStorage;
|
extern BOOLEAN ResumeFromCoreStorage;
|
||||||
extern BOOLEAN gRemapSmBiosIsRequire; // syscl: pass argument for Dell SMBIOS here
|
extern BOOLEAN gRemapSmBiosIsRequire; // syscl: pass argument for Dell SMBIOS here
|
||||||
|
|
||||||
|
#ifdef _cplusplus
|
||||||
|
extern XObjArray<REFIT_VOLUME> Volumes;
|
||||||
|
#endif
|
||||||
|
|
||||||
//-----------------------------------
|
//-----------------------------------
|
||||||
|
|
||||||
|
@ -44,6 +44,7 @@ extern REFIT_MENU_ENTRY MenuEntryShutdown;
|
|||||||
extern REFIT_MENU_ENTRY MenuEntryExit;
|
extern REFIT_MENU_ENTRY MenuEntryExit;
|
||||||
extern REFIT_MENU_SCREEN MainMenu;
|
extern REFIT_MENU_SCREEN MainMenu;
|
||||||
|
|
||||||
|
extern XObjArray<REFIT_VOLUME> Volumes;
|
||||||
// common
|
// common
|
||||||
EG_IMAGE *LoadBuiltinIcon(IN CONST CHAR16 *IconName);
|
EG_IMAGE *LoadBuiltinIcon(IN CONST CHAR16 *IconName);
|
||||||
LOADER_ENTRY * DuplicateLoaderEntry(IN LOADER_ENTRY *Entry);
|
LOADER_ENTRY * DuplicateLoaderEntry(IN LOADER_ENTRY *Entry);
|
||||||
|
@ -696,9 +696,6 @@ extern BOOLEAN MainAnime;
|
|||||||
extern GUI_ANIME *GuiAnime;
|
extern GUI_ANIME *GuiAnime;
|
||||||
|
|
||||||
extern REFIT_VOLUME *SelfVolume;
|
extern REFIT_VOLUME *SelfVolume;
|
||||||
#ifdef _cplusplus
|
|
||||||
extern XObjArray<REFIT_VOLUME> Volumes;
|
|
||||||
#endif
|
|
||||||
//extern UINTN VolumesCount;
|
//extern UINTN VolumesCount;
|
||||||
|
|
||||||
extern EG_IMAGE *Banner;
|
extern EG_IMAGE *Banner;
|
||||||
|
Loading…
Reference in New Issue
Block a user