From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web10.8363.1578492745449376170 for ; Wed, 08 Jan 2020 06:12:25 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.151, mailfrom: ray.ni@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Jan 2020 06:12:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,410,1571727600"; d="scan'208";a="215962666" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga008.jf.intel.com with ESMTP; 08 Jan 2020 06:12:24 -0800 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 8 Jan 2020 06:12:24 -0800 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by FMSMSX157.amr.corp.intel.com (10.18.116.73) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 8 Jan 2020 06:12:24 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.197]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.39]) with mapi id 14.03.0439.000; Wed, 8 Jan 2020 22:12:22 +0800 From: "Ni, Ray" To: "Gao, Liming" , "devel@edk2.groups.io" CC: "Voelz, Jason" Subject: Re: [Patch 1/2] MdePkg BaseLib.h: Update IA32_CR4 strut to include all public fields Thread-Topic: [Patch 1/2] MdePkg BaseLib.h: Update IA32_CR4 strut to include all public fields Thread-Index: AQHVuV4MSdsYMM9O7UittaOOu1JxXqfg6EOQ Date: Wed, 8 Jan 2020 14:12:21 +0000 Deferred-Delivery: Wed, 8 Jan 2020 14:12:00 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5C3E0243@SHSMSX104.ccr.corp.intel.com> References: <20191223065537.32468-1-liming.gao@intel.com> <20191223065537.32468-2-liming.gao@intel.com> In-Reply-To: <20191223065537.32468-2-liming.gao@intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: ray.ni@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ray Ni > -----Original Message----- > From: Gao, Liming > Sent: Monday, December 23, 2019 2:56 PM > To: devel@edk2.groups.io > Cc: Voelz, Jason ; Ni, Ray > Subject: [Patch 1/2] MdePkg BaseLib.h: Update IA32_CR4 strut to include a= ll public fields >=20 > From: Jason Voelz >=20 > Based on Intel Software Develeper's Manual, add all fields in IA32_CR4. >=20 > Signed-off-by: Jason Voelz > Cc: Liming Gao > Cc: Ray Ni > --- > MdePkg/Include/Library/BaseLib.h | 15 ++++++++++++--- > 1 file changed, 12 insertions(+), 3 deletions(-) >=20 > diff --git a/MdePkg/Include/Library/BaseLib.h b/MdePkg/Include/Library/Ba= seLib.h > index 2a75bc023f..ecadff8b23 100644 > --- a/MdePkg/Include/Library/BaseLib.h > +++ b/MdePkg/Include/Library/BaseLib.h > @@ -5387,10 +5387,19 @@ typedef union { > UINT32 OSXMMEXCPT:1; ///< Operating System Support for > ///< Unmasked SIMD Floating Point > ///< Exceptions. > - UINT32 Reserved_2:1; ///< Reserved. > + UINT32 UMIP:1; ///< User-Mode Instruction Prevention. > UINT32 LA57:1; ///< Linear Address 57bit. > - UINT32 VMXE:1; ///< VMX Enable > - UINT32 Reserved_1:18; ///< Reserved. > + UINT32 VMXE:1; ///< VMX Enable. > + UINT32 SMXE:1; ///< SMX Enable. > + UINT32 Reserved_3:1; ///< Reserved. > + UINT32 FSGSBASE:1; ///< FSGSBASE Enable. > + UINT32 PCIDE:1; ///< PCID Enable. > + UINT32 OSXSAVE:1; ///< XSAVE and Processor Extended States Ena= ble. > + UINT32 Reserved_4:1; ///< Reserved. > + UINT32 SMEP:1; ///< SMEP Enable. > + UINT32 SMAP:1; ///< SMAP Enable. > + UINT32 PKE:1; ///< Protection-Key Enable. > + UINT32 Reserved_5:9; ///< Reserved. > } Bits; > UINTN UintN; > } IA32_CR4; > -- > 2.13.0.windows.1