From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=helo; client-ip=104.47.37.52; helo=nam02-cy1-obe.outbound.protection.outlook.com; envelope-from=leo.duran@amd.com; receiver=edk2-devel@lists.01.org Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0052.outbound.protection.outlook.com [104.47.37.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 6C26A21CE740D for ; Tue, 17 Oct 2017 07:46:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=+L1CkGkfakeOx+P+pc6DhmnPY0hVtcIX4mYka4XxXJs=; b=ZL9axLvBchlX+jtpxXS+Swv22Q1a+SO4JAYdspX+zt72K+YtvF1vivHCLk75/T7ddV2JxOQy+VB48DjTOLIyZcCLTsXfRBYNiCZVry0cXUKusr7G58lBbBWja57k70SUb2KhZK+5BRVssbywWwbvWhTDBMpfWc1wrTRGhB9cbCY= Received: from DM5PR12MB1243.namprd12.prod.outlook.com (10.168.237.22) by DM5PR12MB1244.namprd12.prod.outlook.com (10.168.237.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Tue, 17 Oct 2017 14:50:03 +0000 Received: from DM5PR12MB1243.namprd12.prod.outlook.com ([10.168.237.22]) by DM5PR12MB1243.namprd12.prod.outlook.com ([10.168.237.22]) with mapi id 15.20.0077.022; Tue, 17 Oct 2017 14:50:03 +0000 From: "Duran, Leo" To: 'Paolo Bonzini' , Laszlo Ersek , "edk2-devel@lists.01.org" , Jiewen Yao CC: Ruiyu Ni , Michael D Kinney , Jordan Justen , Liming Gao Thread-Topic: [PATCH v5 1/2] UefiCpuPkg/SmmCpuFeaturesLib: Use global variables to replace macros Thread-Index: AQHTQsmHT6q8s1uDn0G572ZIQNr16aLoF+FAgAAJbwCAAAPtgIAAAMOQ Date: Tue, 17 Oct 2017 14:50:03 +0000 Message-ID: References: <1507751131-32404-1-git-send-email-leo.duran@amd.com> <1507751131-32404-2-git-send-email-leo.duran@amd.com> <9bda521d-a160-77e1-66e5-4647ad7f02d5@redhat.com> In-Reply-To: <9bda521d-a160-77e1-66e5-4647ad7f02d5@redhat.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=leo.duran@amd.com; x-originating-ip: [165.204.77.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM5PR12MB1244; 20:JjnhDYjhD0uP23KuGHqTYGiMzHPdCQb8Ni+h/eEZNAm+OOZL/66M9l30zaZqsOV+NLzS+r0H53w5CP8zQs4hH18DgOR+dpLlMrPSOEKnzvwaQA9eUTcAacvuFziEfg0GBh0S9g4npr2Dvr6c4yO+H0AV1FQqR3oHyEvsXxKK1j1iL4o32rPI2czWF+yAhKo/KYLsVxcADd1Y8ZMFmzLHlfscwRdDOHGpdYANsqzUcci9av4S3sHEGKbOi0d/Z03O x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: c2bf16cf-bc11-44d5-a60f-08d5156e599c x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:DM5PR12MB1244; x-ms-traffictypediagnostic: DM5PR12MB1244: x-exchange-antispam-report-test: UriScan:(767451399110)(788757137089)(162533806227266)(228905959029699); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(93001095)(6055026)(6041248)(20161123555025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR12MB1244; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR12MB1244; x-forefront-prvs: 04631F8F77 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(346002)(376002)(39860400002)(13464003)(24454002)(377454003)(199003)(189002)(3280700002)(74316002)(105586002)(3660700001)(86362001)(8676002)(110136005)(33656002)(4326008)(53936002)(81166006)(81156014)(5660300001)(229853002)(14454004)(93886005)(106356001)(9686003)(2906002)(2950100002)(316002)(6246003)(305945005)(7696004)(2900100001)(2501003)(77096006)(76176999)(68736007)(50986999)(54356999)(66066001)(101416001)(7736002)(6506006)(478600001)(54906003)(6116002)(102836003)(8936002)(53546010)(6436002)(189998001)(97736004)(25786009)(55016002)(3846002)(99286003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR12MB1244; H:DM5PR12MB1243.namprd12.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2017 14:50:03.5098 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1244 Subject: Re: [PATCH v5 1/2] UefiCpuPkg/SmmCpuFeaturesLib: Use global variables to replace macros 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: Tue, 17 Oct 2017 14:46:29 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogUGFvbG8gQm9uemluaSBb bWFpbHRvOnBib256aW5pQHJlZGhhdC5jb21dDQo+IFNlbnQ6IFR1ZXNkYXksIE9jdG9iZXIgMTcs IDIwMTcgOTozNyBBTQ0KPiBUbzogTGFzemxvIEVyc2VrIDxsZXJzZWtAcmVkaGF0LmNvbT47IER1 cmFuLCBMZW8gPGxlby5kdXJhbkBhbWQuY29tPjsNCj4gZWRrMi1kZXZlbEBsaXN0cy4wMS5vcmc7 IEppZXdlbiBZYW8gPGppZXdlbi55YW9AaW50ZWwuY29tPg0KPiBDYzogUnVpeXUgTmkgPHJ1aXl1 Lm5pQGludGVsLmNvbT47IE1pY2hhZWwgRCBLaW5uZXkNCj4gPG1pY2hhZWwuZC5raW5uZXlAaW50 ZWwuY29tPjsgSm9yZGFuIEp1c3RlbiA8am9yZGFuLmwuanVzdGVuQGludGVsLmNvbT47DQo+IExp bWluZyBHYW8gPGxpbWluZy5nYW9AaW50ZWwuY29tPg0KPiBTdWJqZWN0OiBSZTogW1BBVENIIHY1 IDEvMl0gVWVmaUNwdVBrZy9TbW1DcHVGZWF0dXJlc0xpYjogVXNlIGdsb2JhbA0KPiB2YXJpYWJs ZXMgdG8gcmVwbGFjZSBtYWNyb3MNCj4gDQo+IE9uIDE3LzEwLzIwMTcgMTY6MjMsIExhc3psbyBF cnNlayB3cm90ZToNCj4gPj4gRm9yIHRoZSBTUkFNX1NBVkVfU1RBVEVfTUFQX09GRlNFVDoNCj4g Pj4gSSBwcm9wb3NlIHJldHVybmluZyB0aGUgdmFsdWUgYnkgYSBmdW5jdGlvbiBpbiBTbW1DcHVG ZWF0dXJlc0xpYi4uL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