[BOOT:LIB] Declare global variables in bootlib.h
This commit is contained in:
@@ -17,9 +17,6 @@ Abstract:
|
||||
#include <wchar.h>
|
||||
#include "bootlib.h"
|
||||
|
||||
extern PEXECUTION_CONTEXT CurrentExecutionContext;
|
||||
extern SIMPLE_TEXT_OUTPUT_INTERFACE *EfiConOut;
|
||||
|
||||
VOID
|
||||
ConsolePrint (
|
||||
IN PWSTR String
|
||||
|
@@ -23,9 +23,6 @@ Abstract:
|
||||
#define EFI_PAGE(NtPage) (((NtPage) << PAGE_SHIFT) >> EFI_PAGE_SHIFT)
|
||||
#define NT_PAGE(EfiPage) (((EfiPage) << EFI_PAGE_SHIFT) >> PAGE_SHIFT)
|
||||
|
||||
extern EFI_BOOT_SERVICES *EfiBS;
|
||||
extern PBOOT_DEVICE BlpBootDevice;
|
||||
|
||||
NTSTATUS
|
||||
EfiGetMemoryMap (
|
||||
IN OUT UINTN *MemoryMapSize,
|
||||
|
@@ -23,8 +23,6 @@ Abstract:
|
||||
#define IA32_EFER_MSR 0xC0000080
|
||||
#define IA32_EFER_LME (1 << 10)
|
||||
|
||||
extern ULONG BlPlatformFlags;
|
||||
extern PBOOT_FIRMWARE_DATA EfiFirmwareParameters;
|
||||
EXECUTION_CONTEXT ApplicationExecutionContext;
|
||||
EXECUTION_CONTEXT FirmwareExecutionContext;
|
||||
PEXECUTION_CONTEXT CurrentExecutionContext;
|
||||
|
Reference in New Issue
Block a user