From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 4246A81B44 for ; Wed, 11 Jan 2017 02:59:46 -0800 (PST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP; 11 Jan 2017 02:59:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,345,1477983600"; d="scan'208";a="51730492" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga005.jf.intel.com with ESMTP; 11 Jan 2017 02:59:45 -0800 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 11 Jan 2017 02:59:45 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 11 Jan 2017 02:59:45 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.59]) by SHSMSX103.ccr.corp.intel.com ([10.239.4.69]) with mapi id 14.03.0248.002; Wed, 11 Jan 2017 18:59:43 +0800 From: "Wu, Hao A" To: Ard Biesheuvel , "Ni, Ruiyu" , Laszlo Ersek CC: "edk2-devel@lists.01.org" Thread-Topic: [edk2] [PATCH] MdeModulePkg/NonDiscoverable: Compare SIZE_4GB with address type Thread-Index: AQHSa66jiWl+aoW4KUGpcM0abcN95qEyANKAgABhvoCAAI3bEA== Date: Wed, 11 Jan 2017 10:59:42 +0000 Message-ID: References: <1484100071-33228-1-git-send-email-hao.a.wu@intel.com> <734D49CCEBEEF84792F5B80ED585239D5B87AE3E@SHSMSX104.ccr.corp.intel.com> In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH] MdeModulePkg/NonDiscoverable: Compare SIZE_4GB with address type 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: Wed, 11 Jan 2017 10:59:46 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBBcmQgQmllc2hldXZlbCBbbWFp bHRvOmFyZC5iaWVzaGV1dmVsQGxpbmFyby5vcmddDQo+IFNlbnQ6IFdlZG5lc2RheSwgSmFudWFy eSAxMSwgMjAxNyAzOjU1IFBNDQo+IFRvOiBOaSwgUnVpeXU7IExhc3psbyBFcnNlaw0KPiBDYzog V3UsIEhhbyBBOyBlZGsyLWRldmVsQGxpc3RzLjAxLm9yZw0KPiBTdWJqZWN0OiBSZTogW2VkazJd IFtQQVRDSF0gTWRlTW9kdWxlUGtnL05vbkRpc2NvdmVyYWJsZTogQ29tcGFyZQ0KPiBTSVpFXzRH QiB3aXRoIGFkZHJlc3MgdHlwZQ0KPiANCj4gT24gMTEgSmFudWFyeSAyMDE3IGF0IDAyOjA1LCBO aSwgUnVpeXUgPHJ1aXl1Lm5pQGludGVsLmNvbT4gd3JvdGU6DQo+ID4gT25lIG1pbm9yIGNvbW1l bnRzOiBwdXQgb25lIHNwYWNlIGFmdGVyIChFRklfUEhZU0lDQUxfQUREUkVTUykgYW5kDQo+IChV SU5UTikgYXMgYmVsb3cuDQo+ID4+ICsgICAgICAgICAgICAoRUZJX1BIWVNJQ0FMX0FERFJFU1Mp IChVSU5UTikgSG9zdEFkZHJlc3MgKyAqTnVtYmVyT2ZCeXRlcyA+DQo+IFNJWkVfNEdCDQo+ID4N Cj4gDQo+IEkgZGlzYWdyZWUuIFRoZSB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