mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
e518b40c16
commit
6640eb366c
|
@ -852,10 +852,9 @@ RefreshGcdMemoryAttributes (
|
||||||
UINTN NumberOfDescriptors;
|
UINTN NumberOfDescriptors;
|
||||||
EFI_GCD_MEMORY_SPACE_DESCRIPTOR *MemorySpaceMap;
|
EFI_GCD_MEMORY_SPACE_DESCRIPTOR *MemorySpaceMap;
|
||||||
UINT64 DefaultAttributes;
|
UINT64 DefaultAttributes;
|
||||||
VARIABLE_MTRR VariableMtrr[MAX_MTRR_NUMBER_OF_VARIABLE_MTRR];
|
VARIABLE_MTRR VariableMtrr[MTRR_NUMBER_OF_VARIABLE_MTRR];
|
||||||
MTRR_FIXED_SETTINGS MtrrFixedSettings;
|
MTRR_FIXED_SETTINGS MtrrFixedSettings;
|
||||||
UINT32 FirmwareVariableMtrrCount;
|
UINT32 FirmwareVariableMtrrCount;
|
||||||
UINT32 UsedMtrr;
|
|
||||||
|
|
||||||
FirmwareVariableMtrrCount = GetFirmwareVariableMtrrCount ();
|
FirmwareVariableMtrrCount = GetFirmwareVariableMtrrCount ();
|
||||||
|
|
||||||
|
@ -871,11 +870,9 @@ RefreshGcdMemoryAttributes (
|
||||||
//
|
//
|
||||||
// Get the memory attribute of variable MTRRs
|
// Get the memory attribute of variable MTRRs
|
||||||
//
|
//
|
||||||
UsedMtrr = MAX_MTRR_NUMBER_OF_VARIABLE_MTRR;
|
|
||||||
MtrrGetMemoryAttributeInVariableMtrr (
|
MtrrGetMemoryAttributeInVariableMtrr (
|
||||||
mValidMtrrBitsMask,
|
mValidMtrrBitsMask,
|
||||||
mValidMtrrAddressMask,
|
mValidMtrrAddressMask,
|
||||||
&UsedMtrr,
|
|
||||||
VariableMtrr
|
VariableMtrr
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue