quirky but working

Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
Sergey Isakov 2020-02-28 22:41:03 +03:00
parent bdc977d14f
commit 5709ec8c2c
6 changed files with 10 additions and 4 deletions

View File

@ -8,7 +8,7 @@
*/
#include "Platform.h"
#include <Platform.h>
#ifndef DEBUG_ALL
@ -26,6 +26,8 @@
#define CREATE_NEW_BOOT_IMAGE 1
extern XObjArray<REFIT_VOLUME> Volumes;
#pragma pack(push, 1)
//

View File

@ -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
#endif
extern XObjArray<REFIT_VOLUME> Volumes;
#pragma pack(push)
#pragma pack(1)

View File

@ -19,6 +19,7 @@
#define DBG(...) DebugLog (DEBUG_SET, __VA_ARGS__)
#endif
extern XObjArray<REFIT_VOLUME> Volumes;
// for saving nvram.plist and it's data
TagPtr gNvramDict;

View File

@ -1738,6 +1738,9 @@ extern CONST CHAR16 *gFirmwareRevision;
extern BOOLEAN ResumeFromCoreStorage;
extern BOOLEAN gRemapSmBiosIsRequire; // syscl: pass argument for Dell SMBIOS here
#ifdef _cplusplus
extern XObjArray<REFIT_VOLUME> Volumes;
#endif
//-----------------------------------

View File

@ -44,6 +44,7 @@ extern REFIT_MENU_ENTRY MenuEntryShutdown;
extern REFIT_MENU_ENTRY MenuEntryExit;
extern REFIT_MENU_SCREEN MainMenu;
extern XObjArray<REFIT_VOLUME> Volumes;
// common
EG_IMAGE *LoadBuiltinIcon(IN CONST CHAR16 *IconName);
LOADER_ENTRY * DuplicateLoaderEntry(IN LOADER_ENTRY *Entry);

View File

@ -696,9 +696,6 @@ extern BOOLEAN MainAnime;
extern GUI_ANIME *GuiAnime;
extern REFIT_VOLUME *SelfVolume;
#ifdef _cplusplus
extern XObjArray<REFIT_VOLUME> Volumes;
#endif
//extern UINTN VolumesCount;
extern EG_IMAGE *Banner;