On 08/08/19 08:24, Dong, Eric wrote: > Change referenced MSR name to avoid later build failure. > > Signed-off-by: Eric Dong <eric.d...@intel.com> > Cc: Laszlo Ersek <ler...@redhat.com> > Cc: Jordan Justen <jordan.l.jus...@intel.com> > Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> > --- > OvmfPkg/PlatformPei/FeatureControl.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/OvmfPkg/PlatformPei/FeatureControl.c > b/OvmfPkg/PlatformPei/FeatureControl.c > index 837da2119a..1a9d75022f 100644 > --- a/OvmfPkg/PlatformPei/FeatureControl.c > +++ b/OvmfPkg/PlatformPei/FeatureControl.c > @@ -11,7 +11,7 @@ > #include <Library/PeiServicesLib.h> > #include <Library/QemuFwCfgLib.h> > #include <Ppi/MpServices.h> > -#include <Register/Msr/Core2Msr.h> > +#include <Register/ArchitecturalMsr.h> > > #include "Platform.h" > > @@ -37,7 +37,7 @@ WriteFeatureControl ( > IN OUT VOID *WorkSpace > ) > { > - AsmWriteMsr64 (MSR_CORE2_FEATURE_CONTROL, mFeatureControlValue); > + AsmWriteMsr64 (MSR_IA32_FEATURE_CONTROL, mFeatureControlValue); > } > > /** >
Reviewed-by: Laszlo Ersek <ler...@redhat.com> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#45218): https://edk2.groups.io/g/devel/message/45218 Mute This Topic: https://groups.io/mt/32796059/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-