From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 56FD321CE7417 for ; Sun, 6 Aug 2017 23:28:31 -0700 (PDT) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP; 06 Aug 2017 23:30:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,336,1498546800"; d="scan'208";a="134412059" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga005.jf.intel.com with ESMTP; 06 Aug 2017 23:30:45 -0700 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 6 Aug 2017 23:30:30 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx124.amr.corp.intel.com (10.18.125.39) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 6 Aug 2017 23:30:30 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.151]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.188]) with mapi id 14.03.0319.002; Mon, 7 Aug 2017 14:30:28 +0800 From: "Ni, Ruiyu" To: "Dong, Eric" , "edk2-devel@lists.01.org" CC: "Fan, Jeff" Thread-Topic: [Patch 7/7] UefiCpuPkg MtrrLib: Remove deprecated micro. Thread-Index: AQHTDDt0oGASgpe2+0O45GY/qEvSdqJ4dIUQ Date: Mon, 7 Aug 2017 06:30:27 +0000 Deferred-Delivery: Mon, 7 Aug 2017 06:30:00 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5B9CE2B0@SHSMSX104.ccr.corp.intel.com> References: <1501752726-14072-1-git-send-email-eric.dong@intel.com> <1501752726-14072-8-git-send-email-eric.dong@intel.com> In-Reply-To: <1501752726-14072-8-git-send-email-eric.dong@intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch 7/7] UefiCpuPkg MtrrLib: Remove deprecated micro. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2017 06:28:31 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ruiyu Ni Thanks/Ray > -----Original Message----- > From: Dong, Eric > Sent: Thursday, August 3, 2017 5:32 PM > To: edk2-devel@lists.01.org > Cc: Fan, Jeff ; Ni, Ruiyu > Subject: [Patch 7/7] UefiCpuPkg MtrrLib: Remove deprecated micro. >=20 > Cc: Jeff Fan > Cc: Ruiyu Ni > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Eric Dong > --- > UefiCpuPkg/Include/Library/MtrrLib.h | 27 --------------------------- > 1 file changed, 27 deletions(-) >=20 > diff --git a/UefiCpuPkg/Include/Library/MtrrLib.h > b/UefiCpuPkg/Include/Library/MtrrLib.h > index a63da4d..6120526 100644 > --- a/UefiCpuPkg/Include/Library/MtrrLib.h > +++ b/UefiCpuPkg/Include/Library/MtrrLib.h > @@ -31,33 +31,6 @@ > #define RESERVED_FIRMWARE_VARIABLE_MTRR_NUMBER 2 >=20 > #define MTRR_NUMBER_OF_FIXED_MTRR 11 > -// > -// Below macro is deprecated, and should not be used. > -// > -#define FIRMWARE_VARIABLE_MTRR_NUMBER 6 > -#define MTRR_LIB_IA32_MTRR_CAP 0x0FE > -#define MTRR_LIB_IA32_MTRR_CAP_VCNT_MASK 0x0FF > -#define MTRR_LIB_IA32_MTRR_FIX64K_00000 0x250 > -#define MTRR_LIB_IA32_MTRR_FIX16K_80000 0x258 > -#define MTRR_LIB_IA32_MTRR_FIX16K_A0000 0x259 > -#define MTRR_LIB_IA32_MTRR_FIX4K_C0000 0x268 > -#define MTRR_LIB_IA32_MTRR_FIX4K_C8000 0x269 > -#define MTRR_LIB_IA32_MTRR_FIX4K_D0000 0x26A > -#define MTRR_LIB_IA32_MTRR_FIX4K_D8000 0x26B > -#define MTRR_LIB_IA32_MTRR_FIX4K_E0000 0x26C > -#define MTRR_LIB_IA32_MTRR_FIX4K_E8000 0x26D > -#define MTRR_LIB_IA32_MTRR_FIX4K_F0000 0x26E > -#define MTRR_LIB_IA32_MTRR_FIX4K_F8000 0x26F > -#define MTRR_LIB_IA32_VARIABLE_MTRR_BASE 0x200 > -// > -// Below macro is deprecated, and should not be used. > -// > -#define MTRR_LIB_IA32_VARIABLE_MTRR_END 0x20F > -#define MTRR_LIB_IA32_MTRR_DEF_TYPE 0x2FF > -#define MTRR_LIB_MSR_VALID_MASK 0xFFFFFFFFFULL > -#define MTRR_LIB_CACHE_VALID_ADDRESS 0xFFFFFF000ULL > -#define MTRR_LIB_CACHE_MTRR_ENABLED 0x800 > -#define MTRR_LIB_CACHE_FIXED_MTRR_ENABLED 0x400 >=20 > // > // Structure to describe a fixed MTRR > -- > 2.7.0.windows.1