[edk2-devel] [Patch v6 1/9] OvmfPkg/PlatformPei: Change referenced MSR name.

Laszlo Ersek lersek at redhat.com
Thu Aug 8 20:06:39 UTC 2019


On 08/08/19 08:24, Dong, Eric wrote:
> Change referenced MSR name to avoid later build failure.
> 
> Signed-off-by: Eric Dong <eric.dong at intel.com>
> Cc: Laszlo Ersek <lersek at redhat.com>
> Cc: Jordan Justen <jordan.l.justen at intel.com>
> Cc: Ard Biesheuvel <ard.biesheuvel at 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 <lersek at 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/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list