From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: hao.a.wu@intel.com) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by groups.io with SMTP; Wed, 12 Jun 2019 23:30:52 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jun 2019 23:30:53 -0700 X-ExtLoop1: 1 Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by FMSMGA003.fm.intel.com with ESMTP; 12 Jun 2019 23:30:52 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 12 Jun 2019 23:30:52 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 12 Jun 2019 23:30:51 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.185]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.89]) with mapi id 14.03.0439.000; Thu, 13 Jun 2019 14:28:13 +0800 From: "Wu, Hao A" To: "devel@edk2.groups.io" , "dwmw2@infradead.org" , "Ni, Ray" CC: "Justen, Jordan L" , Laszlo Ersek , Ard Biesheuvel Subject: Re: [edk2-devel] [PATCH 11/10] OvmfPkg/Csm/LegacyBiosDxe: Correct Legacy16GetTableAddress call for E820 data Thread-Topic: [edk2-devel] [PATCH 11/10] OvmfPkg/Csm/LegacyBiosDxe: Correct Legacy16GetTableAddress call for E820 data Thread-Index: AQHVIWfTMDHUlVlTEEauY4oROeWbxKaZGvrA Date: Thu, 13 Jun 2019 06:28:12 +0000 Message-ID: References: <20190527030350.11996-1-hao.a.wu@intel.com> <18b24dae9f4e5c022849502fc4b60ac3ba59d6f1.camel@infradead.org> In-Reply-To: <18b24dae9f4e5c022849502fc4b60ac3ba59d6f1.camel@infradead.org> 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 Return-Path: hao.a.wu@intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGVsbG8gUmF5LA0KDQpEbyB5b3UgaGF2ZSBjb21tZW50IG9uIHRoaXM/DQoNClNvbWUgaW5saW5l IGNvbW1lbnRzIGJlbG93Og0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206 IGRldmVsQGVkazIuZ3JvdXBzLmlvIFttYWlsdG86ZGV2ZWxAZWRrMi5ncm91cHMuaW9dIE9uIEJl aGFsZiBPZg0KPiBEYXZpZCBXb29kaG91c2UNCj4gU2VudDogVGh1cnNkYXksIEp1bmUgMTMsIDIw MTkgNTo0MyBBTQ0KPiBUbzogV3UsIEhhbyBBDQo+IENjOiBkZXZlbEBlZGsyLmdyb3Vwcy5pbzsg TmksIFJheTsgSnVzdGVuLCBKb3JkYW4gTDsgTGFzemxvIEVyc2VrOyBBcmQNCj4gQmllc2hldXZl bA0KPiBTdWJqZWN0OiBbZWRrMi1kZXZlbF0gW1BBVENIIDExLzEwXSBPdm1mUGtnL0NzbS9MZWdh Y3lCaW9zRHhlOiBDb3JyZWN0DQo+IExlZ2FjeTE2R2V0VGFibGVBZGRyZXNzIGNhbGwgZm9yIEU4 MjAgZGF0YQ0KPiANCj4gVGhlIERYIHJlZ2lzdGVyIGlzIHN1cHBvc2VkIHRvIGNvbnRhaW4gdGhl IHJlcXVpcmVkIGFsaWdubWVudCBmb3IgdGhlDQo+IGFsbG9jYXRpb24uIEl0IHdhcyB6ZXJvLCBh bmQgU2VhQklPUyBkb2Vzbid0ICh3ZWxsLCBkaWRuJ3QpIGNvcGUgd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