mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 08:04:07 +02:00
OvmfPkg/PlatformPei: Change referenced MSR name.
Change referenced MSR name to avoid later build failure. Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
parent
35ec41803c
commit
1ab7d72651
@ -11,7 +11,7 @@
|
|||||||
#include <Library/PeiServicesLib.h>
|
#include <Library/PeiServicesLib.h>
|
||||||
#include <Library/QemuFwCfgLib.h>
|
#include <Library/QemuFwCfgLib.h>
|
||||||
#include <Ppi/MpServices.h>
|
#include <Ppi/MpServices.h>
|
||||||
#include <Register/Msr/Core2Msr.h>
|
#include <Register/ArchitecturalMsr.h>
|
||||||
|
|
||||||
#include "Platform.h"
|
#include "Platform.h"
|
||||||
|
|
||||||
@ -37,7 +37,7 @@ WriteFeatureControl (
|
|||||||
IN OUT VOID *WorkSpace
|
IN OUT VOID *WorkSpace
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
AsmWriteMsr64 (MSR_CORE2_FEATURE_CONTROL, mFeatureControlValue);
|
AsmWriteMsr64 (MSR_IA32_FEATURE_CONTROL, mFeatureControlValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user