From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 30EB61A1E20 for ; Mon, 17 Oct 2016 19:03:20 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP; 17 Oct 2016 19:02:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,359,1473145200"; d="scan'208";a="1046126915" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga001.jf.intel.com with ESMTP; 17 Oct 2016 19:02:59 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 17 Oct 2016 19:02:59 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 17 Oct 2016 19:02:59 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.139]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.104]) with mapi id 14.03.0248.002; Tue, 18 Oct 2016 10:02:58 +0800 From: "Zhu, Yonghong" To: "Justen, Jordan L" , "edk2-devel@lists.01.org" CC: "Gao, Liming" , "Zhu, Yonghong" Thread-Topic: [Patch 3/3] BaseTools: Update PatchCheck to report error for EFI_D_* Thread-Index: AQHSKJe09szAq+JlZkWewm0b45KlCqCtcjxg Date: Tue, 18 Oct 2016 02:02:57 +0000 Message-ID: References: <1476692918-10716-1-git-send-email-yonghong.zhu@intel.com> <1476692918-10716-4-git-send-email-yonghong.zhu@intel.com> <147672349716.943.1214729718045230847@jljusten-ivb> In-Reply-To: <147672349716.943.1214729718045230847@jljusten-ivb> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch 3/3] BaseTools: Update PatchCheck to report error for EFI_D_* X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2016 02:03:20 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGkgSm9yZGFuLA0KDQpXZSByZXF1ZXN0IHRvIHJlcG9ydCBlcnJvciBzaW5jZSB0aGUgREVCVUdf KiBpcyBvdXIgcmVjb21tZW5kIGNvZGluZyBzdHlsZSBhbmQgRUZJX0RfIGlzIG9ic29sZXRlLg0K TG9va2luZyBmb3IgREVCVUcgYW5kIEVGSV9EXyBzaW5jZSBvbmx5IGxvb2sgZm9yIEVGSV9EXyBt YXkgY2F1c2Ugc29tZSBGYWxzZSBlcnJvciBiZSByZXBvcnRlZC4gQW5kIEkgYWdyZWUgdGhhdCB1 c2VyIG1pZ2h0IHB1dCBFRklfRF8gb24gYSBzZXBhcmF0ZSBsaW5lLCBob3dldmVyIEkgc2Nhbm5l ZCBvdXIgY3VycmVudCBlZGsyIGNvZGUsIG5vIHN1Y2ggdXNhZ2UuIFNvIEknZCBsaWtlIHRvIGFk ZCB0aGlzIHN1cHBvcnQgYWZ0ZXIgd2UgbWVldCB0aGUgcmVhbCBjYXNlLg0KDQpCZXN0IFJlZ2Fy ZHMsDQpaaHUgWW9uZ2hvbmcNCg0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTog SnVzdGVuLCBKb3JkYW4gTCANClNlbnQ6IFR1ZXNkYXksIE9jdG9iZXIgMTgsIDIwMTYgMTI6NTgg QU0NClRvOiBaaHUsIFlvbmdob25nIDx5b25naG9uZy56aHVAaW50ZWwuY29tPjsgZWRrMi1kZXZl bEBsaXN0cy4wMS5vcmcNCkNjOi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VUdfbWFjcm9fcmUgPSByZS5jb21waWxlKHInJydeDQo+ICsgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICBccypERUJVR1xzKlwoXCgNCj4gKyAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgJycnLA0KPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZS5W RVJCT1NFKQ0KPiAgDQo+ICAgICAgZGVmIGNoZWNrX2FkZGVkX2xpbmUoc2VsZiwgbGluZSk6DQo+ ICAgICAgICAgIGVvbCA9ICcnDQo+ICAgICAgICAgIGZvciBhbl9lb2wgaW4gc2VsZi5saW5lX2Vu ZGluZ3M6DQo+ICAgICAgICAgICAgICBpZiBsaW5lLmVuZHN3aXRoKGFuX2VvbCk6DQo+IEBAIC0z NTQsMTAgKzM1OSwxMyBAQCBjbGFzcyBHaXREaWZmQ2hlY2s6DQo+ICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgbGluZSkNCj4gICAgICAgICAgaWYgJyAgICAnIGluIGxpbmU6DQo+ ICAgICAgICAgICAgICBzZWxmLmFkZGVkX2xpbmVfZXJyb3IoJ1RhYiBjaGFyYWN0ZXIgdXNlZCcs IGxpbmUpDQo+ICAgICAgICAgIGlmIGxlbihzdHJpcHBlZCkgPCBsZW4obGluZSk6DQo+ICAgICAg ICAgICAgICBzZWxmLmFkZGVkX2xpbmVfZXJyb3IoJ1RyYWlsaW5nIHdoaXRlc3BhY2UgZm91bmQn LCBsaW5lKQ0KPiArICAgICAgICBpZiBzZWxmLkRFQlVHX21hY3JvX3JlLm1hdGNoKGxpbmUpOg0K PiArICAgICAgICAgICAgaWYgJ0VGSV9EXycgaW4gbGluZToNCj4gKyAgICAgICAgICAgICAgICBz ZWxmLmFkZGVkX2xpbmVfZXJyb3IoJ0VGSV9EXyogZm9ybWF0IGlzIHVzZWQsIA0KPiArIHJlY29t bWVuZCB0byB1c2UgREVCVUdfKiBmb3JtYXQnLCBsaW5lKQ0KPiAgDQo+ICAgICAgc3BsaXRfZGlm Zl9yZSA9IHJlLmNvbXBpbGUocicnJw0KPiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAoP1A8Y21kPg0KPiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg XiBkaWZmIFxzKyAtLWdpdCBccysgYS8uKyBccysgYi8uKyAkDQo+ICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICkNCj4gLS0NCj4gMi42LjEud2luZG93cy4xDQo+IA0K