From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.24; helo=mga09.intel.com; envelope-from=star.zeng@intel.com; receiver=edk2-devel@lists.01.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (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 EF3162095B073 for ; Thu, 5 Oct 2017 05:47:29 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Oct 2017 05:50:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,481,1500966000"; d="scan'208";a="1227378545" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga002.fm.intel.com with ESMTP; 05 Oct 2017 05:50:47 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 5 Oct 2017 05:50:46 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.175]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.98]) with mapi id 14.03.0319.002; Thu, 5 Oct 2017 20:50:44 +0800 From: "Zeng, Star" To: Ard Biesheuvel CC: "edk2-devel@lists.01.org" , Leif Lindholm , Laszlo Ersek , "Gao, Liming" , "Zeng, Star" Thread-Topic: [PATCH V2 1/2] EmbeddedPkg PrePiHobLib: Implement BuildFv3Hob Thread-Index: AQHTPbLwiky+ZWlpMUmv98p/LVISXqLUaceAgADL2VA= Date: Thu, 5 Oct 2017 12:50:44 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B97E8B1@shsmsx102.ccr.corp.intel.com> References: <20171005082111.15908-1-star.zeng@intel.com> <20171005082111.15908-2-star.zeng@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH V2 1/2] EmbeddedPkg PrePiHobLib: Implement BuildFv3Hob 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: Thu, 05 Oct 2017 12:47:30 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 QXJkLA0KDQpUaGFua3MgZm9yIHRoZSBSQi4gOikNCg0KDQpTdGFyDQotLS0tLU9yaWdpbmFsIE1l c3NhZ2UtLS0tLQ0KRnJvbTogQXJkIEJpZXNoZXV2ZWwgW21haWx0bzphcmQuYmllc2hldXZlbEBs aW5hcm8ub3JnXSANClNlbnQ6IFRodXJzZGF5LCBPY3RvYmVyIDUsIDIwMTcgNDo0MSBQTQ0KVG86 IFplbmcsIFN0YXIgPHN0YXIuemVuZ0BpbnRlbC5jb20+DQpDYzogZWRrMi1kZXZlbEBsaXN0cy4w MS5vcmc7IExlaWYgTGluZGhvbG0gPGxlaWYubGluZGhvbG1AbGluYXJvLm9yZz47IExhc3psbyBF cnNlayA8bGVyc2VrQHJlZGhhdC5jb20+OyBHYW8sIExpbWluZyA8bGltaW5nLmdhb0BpbnRlbC5j b20+DQpTdWJqZWN0OiBSZTogW1BBVENIIFYyIDEvMl0gRW1iZWRkZWRQa2cgUHJlUGlIb2JMaWI6 IEltcGxlbWVudCBCdWlsZEZ2M0hvYg0KDQpPbiA1IE9jdG9iZXIgMjAxNyBhdCAwOToyMSwgU3Rh ciBaZW5nIDxzdGFyLnplbmdAaW50ZWwuY29tPiB3cm90ZToNCj4gQ2M6IExlaWYgTGluZGhvbG0g PGxlaWYubGluZGhvbG1AbGluYXJvLm9yZz4NCj4gQ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biBzdGF0dXMuDQo+ICsgIEBwYXJhbSBFeHRyYWN0ZWRGdiAgICAg ICAgICAgIFRSVUUgaWYgdGhlIEZWIHdhcyBleHRyYWN0ZWQgYXMgYSBmaWxlIHdpdGhpbg0KPiAr ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhbm90aGVyIGZpcm13YXJlIHZvbHVtZS4g RkFMU0Ugb3RoZXJ3aXNlLg0KPiArICBAcGFyYW0gRnZOYW1lICAgICAgICAgICAgICAgICBUaGUg bmFtZSBvZiB0aGUgRmlybXdhcmUgVm9sdW1lLg0KPiArICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICBWYWxpZCBvbmx5IGlmIElzRXh0cmFjdGVkRnYgaXMgVFJVRS4NCj4gKyAgQHBhcmFt IEZpbGVOYW1lICAgICAgICAgICAgICAgVGhlIG5hbWUgb2YgdGhlIGZpbGUuDQo+ICsgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIFZhbGlkIG9ubHkgaWYgSXNFeHRyYWN0ZWRGdiBpcyBU UlVFLg0KPiArDQo+ICsqKi8NCj4gK1ZPSUQNCj4gK0VGSUFQSQ0KPiArQnVpbGRGdjNIb2IgKA0K PiArICBJTiAgICAgICAgICBFRklfUEhZU0lDQUxfQUREUkVTUyAgICAgICAgQmFzZUFkZHJlc3Ms DQo+ICsgIElOICAgICAgICAgIFVJTlQ2NCAgICAgICAgICAgICAgICAgICAgICBMZW5ndGgsDQo+ ICsgIElOICAgICAgICAgIFVJTlQzMiAgICAgICAgICAgICAgICAgICAgICBBdXRoZW50aWNhdGlv blN0YXR1cywNCj4gKyAgSU4gICAgICAgICAgQk9PTEVBTiAgICAgICAgICAgICAgICAgICAgIEV4 dHJhY3RlZEZ2LA0KPiArICBJTiBDT05TVCAgICBFRklfR1VJRCAgICAgICAgICAgICAgICAgICAg KkZ2TmFtZSwgT1BUSU9OQUwNCj4gKyAgSU4gQ09OU1QgICAgRUZJX0dVSUQgICAgICAgICAgICAg ICAgICA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