Correct multiple global variable definitions

Loader is more strict in insisting that global variables are singly
defined.

Signed-off-by: Eugene Myers <edmyers@tycho.nsa.gov>
This commit is contained in:
Eugene Myers 2020-06-30 14:52:09 -04:00 committed by Eugene D Myers
parent c035653a81
commit 4ba30f6489
2 changed files with 1 additions and 3 deletions

View File

@ -51,8 +51,6 @@ EptCreatePageTable (
// Initialization...
MRTT_INFO mMtrrInfo;
#define L4_BITMASK 0x0000FF8000000000
#define L3_BITMASK 0x0000007FC0000000
#define L2_BITMASK 0x000000003FE00000

View File

@ -91,7 +91,7 @@ typedef union
UINT64 Uint64;
} MSR_PLATFORM_INFO_DATA;
PE_SMI_CONTROL PeSmiControl;
extern PE_SMI_CONTROL PeSmiControl;
PE_VM_DATA PeVmData[4]; // right now support a max of 3 PE VM (VM 0 is the SMI_HANDLER)
static UINT64 StartPeTimeStamp = 0;
UINT64 EndTimeStamp = 0;