From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: eric.dong@intel.com) Received: from mga14.intel.com (mga14.intel.com []) by groups.io with SMTP; Wed, 07 Aug 2019 23:14:51 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Aug 2019 23:14:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,360,1559545200"; d="scan'208";a="198921235" Received: from ydong10-win10.ccr.corp.intel.com ([10.239.158.133]) by fmsmga004.fm.intel.com with ESMTP; 07 Aug 2019 23:14:50 -0700 From: "Dong, Eric" To: devel@edk2.groups.io Cc: Laszlo Ersek , Jordan Justen , Ard Biesheuvel Subject: [Patch v5 1/9] OvmfPkg/PlatformPei: Change referenced MSR name. Date: Thu, 8 Aug 2019 14:14:40 +0800 Message-Id: <20190808061448.14684-2-eric.dong@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20190808061448.14684-1-eric.dong@intel.com> References: <20190808061448.14684-1-eric.dong@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Change referenced MSR name to avoid later build failure. Signed-off-by: Eric Dong Cc: Laszlo Ersek Cc: Jordan Justen Cc: Ard Biesheuvel --- 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 #include #include -#include +#include #include "Platform.h" @@ -37,7 +37,7 @@ WriteFeatureControl ( IN OUT VOID *WorkSpace ) { - AsmWriteMsr64 (MSR_CORE2_FEATURE_CONTROL, mFeatureControlValue); + AsmWriteMsr64 (MSR_IA32_FEATURE_CONTROL, mFeatureControlValue); } /** -- 2.21.0.windows.1