mirror of https://github.com/acidanthera/audk.git
UefiCpuPkg CpuDxe: Remove reference deprecated macro.
Cc: Jeff Fan <jeff.fan@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
This commit is contained in:
parent
ff481bc5c6
commit
b1bd0d7474
|
@ -31,57 +31,57 @@ UINT64 mTimerPeriod = 0;
|
||||||
|
|
||||||
FIXED_MTRR mFixedMtrrTable[] = {
|
FIXED_MTRR mFixedMtrrTable[] = {
|
||||||
{
|
{
|
||||||
MTRR_LIB_IA32_MTRR_FIX64K_00000,
|
MSR_IA32_MTRR_FIX64K_00000,
|
||||||
0,
|
0,
|
||||||
0x10000
|
0x10000
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
MTRR_LIB_IA32_MTRR_FIX16K_80000,
|
MSR_IA32_MTRR_FIX16K_80000,
|
||||||
0x80000,
|
0x80000,
|
||||||
0x4000
|
0x4000
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
MTRR_LIB_IA32_MTRR_FIX16K_A0000,
|
MSR_IA32_MTRR_FIX16K_A0000,
|
||||||
0xA0000,
|
0xA0000,
|
||||||
0x4000
|
0x4000
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
MTRR_LIB_IA32_MTRR_FIX4K_C0000,
|
MSR_IA32_MTRR_FIX4K_C0000,
|
||||||
0xC0000,
|
0xC0000,
|
||||||
0x1000
|
0x1000
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
MTRR_LIB_IA32_MTRR_FIX4K_C8000,
|
MSR_IA32_MTRR_FIX4K_C8000,
|
||||||
0xC8000,
|
0xC8000,
|
||||||
0x1000
|
0x1000
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
MTRR_LIB_IA32_MTRR_FIX4K_D0000,
|
MSR_IA32_MTRR_FIX4K_D0000,
|
||||||
0xD0000,
|
0xD0000,
|
||||||
0x1000
|
0x1000
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
MTRR_LIB_IA32_MTRR_FIX4K_D8000,
|
MSR_IA32_MTRR_FIX4K_D8000,
|
||||||
0xD8000,
|
0xD8000,
|
||||||
0x1000
|
0x1000
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
MTRR_LIB_IA32_MTRR_FIX4K_E0000,
|
MSR_IA32_MTRR_FIX4K_E0000,
|
||||||
0xE0000,
|
0xE0000,
|
||||||
0x1000
|
0x1000
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
MTRR_LIB_IA32_MTRR_FIX4K_E8000,
|
MSR_IA32_MTRR_FIX4K_E8000,
|
||||||
0xE8000,
|
0xE8000,
|
||||||
0x1000
|
0x1000
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
MTRR_LIB_IA32_MTRR_FIX4K_F0000,
|
MSR_IA32_MTRR_FIX4K_F0000,
|
||||||
0xF0000,
|
0xF0000,
|
||||||
0x1000
|
0x1000
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
MTRR_LIB_IA32_MTRR_FIX4K_F8000,
|
MSR_IA32_MTRR_FIX4K_F8000,
|
||||||
0xF8000,
|
0xF8000,
|
||||||
0x1000
|
0x1000
|
||||||
},
|
},
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
#include <Protocol/Cpu.h>
|
#include <Protocol/Cpu.h>
|
||||||
#include <Protocol/MpService.h>
|
#include <Protocol/MpService.h>
|
||||||
|
#include <Register/Msr.h>
|
||||||
|
|
||||||
#include <Ppi/SecPlatformInformation.h>
|
#include <Ppi/SecPlatformInformation.h>
|
||||||
#include <Ppi/SecPlatformInformation2.h>
|
#include <Ppi/SecPlatformInformation2.h>
|
||||||
|
|
Loading…
Reference in New Issue