diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-02-10 17:37:37 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-02-10 17:37:37 +0000 |
commit | 6640eb366c5cc3df1d1c174ad95d9d1ec3f768cc (patch) | |
tree | bea2becca95f26d16f6f9c0ddbc4f4e6368a2a5b /UefiCpuPkg/CpuDxe | |
parent | e518b40c16ad7b2b851fe9eebd4960e04d057a93 (diff) | |
download | edk2-6640eb366c5cc3df1d1c174ad95d9d1ec3f768cc.zip edk2-6640eb366c5cc3df1d1c174ad95d9d1ec3f768cc.tar.gz edk2-6640eb366c5cc3df1d1c174ad95d9d1ec3f768cc.tar.bz2 |
UefiCpuPkg/CpuDxe: Fix build error
This driver was not building following the r9935 & r9941 changes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9969 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UefiCpuPkg/CpuDxe')
-rw-r--r-- | UefiCpuPkg/CpuDxe/CpuDxe.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.c b/UefiCpuPkg/CpuDxe/CpuDxe.c index 2895da8..424bc31 100644 --- a/UefiCpuPkg/CpuDxe/CpuDxe.c +++ b/UefiCpuPkg/CpuDxe/CpuDxe.c @@ -852,10 +852,9 @@ RefreshGcdMemoryAttributes ( UINTN NumberOfDescriptors;
EFI_GCD_MEMORY_SPACE_DESCRIPTOR *MemorySpaceMap;
UINT64 DefaultAttributes;
- VARIABLE_MTRR VariableMtrr[MAX_MTRR_NUMBER_OF_VARIABLE_MTRR];
+ VARIABLE_MTRR VariableMtrr[MTRR_NUMBER_OF_VARIABLE_MTRR];
MTRR_FIXED_SETTINGS MtrrFixedSettings;
UINT32 FirmwareVariableMtrrCount;
- UINT32 UsedMtrr;
FirmwareVariableMtrrCount = GetFirmwareVariableMtrrCount ();
@@ -871,11 +870,9 @@ RefreshGcdMemoryAttributes ( //
// Get the memory attribute of variable MTRRs
//
- UsedMtrr = MAX_MTRR_NUMBER_OF_VARIABLE_MTRR;
MtrrGetMemoryAttributeInVariableMtrr (
mValidMtrrBitsMask,
mValidMtrrAddressMask,
- &UsedMtrr,
VariableMtrr
);
|