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.31; helo=mga06.intel.com; envelope-from=star.zeng@intel.com; receiver=edk2-devel@lists.01.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (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 D7F2821E78218 for ; Wed, 4 Oct 2017 23:43:01 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP; 04 Oct 2017 23:46:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,480,1500966000"; d="scan'208";a="906959411" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by FMSMGA003.fm.intel.com with ESMTP; 04 Oct 2017 23:46:22 -0700 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 4 Oct 2017 23:46:22 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 4 Oct 2017 23:46:22 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.175]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.213]) with mapi id 14.03.0319.002; Thu, 5 Oct 2017 14:46:20 +0800 From: "Zeng, Star" To: Laszlo Ersek , "edk2-devel@lists.01.org" CC: "Gao, Liming" , Ard Biesheuvel , "Zeng, Star" Thread-Topic: [edk2] [PATCH 2/5] MdePkg HobLib: Add BuildFv3Hob API Thread-Index: AQHTPRwVWWoUIfhWLEixmOXQfhXq/qLTTW+AgAGA0CA= Date: Thu, 5 Oct 2017 06:46:19 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B97E6C4@shsmsx102.ccr.corp.intel.com> References: <20171004142121.7404-1-star.zeng@intel.com> <20171004142121.7404-3-star.zeng@intel.com> <65f88cc6-6b8d-f99e-e216-b249fb4204c1@redhat.com> In-Reply-To: <65f88cc6-6b8d-f99e-e216-b249fb4204c1@redhat.com> 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 2/5] MdePkg HobLib: Add BuildFv3Hob API 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 06:43:02 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 VGhhbmtzIGZvciB0aGUgcmVtaW5kZXIuDQpJIGp1c3Qgc2VudCBwYXRjaCBzZXJpZXMgaHR0cHM6 Ly9saXN0cy4wMS5vcmcvcGlwZXJtYWlsL2VkazItZGV2ZWwvMjAxNy1PY3RvYmVyLzAxNTYxNC5o dG1sIGFzIHN1cHBsZW1lbnQuDQoNClRoZSBGZnNQcm9jZXNzRnZGaWxlKCkgaW4gRW1iZWRkZWRQ a2cvTGlicmFyeS9QcmVQaUxpYi9Gd1ZvbC5jIG1heSBuZWVkIHRvIGJ1aWxkIEZWMyBIT0Igd2l0 aCBhdXRoZW50aWNhdGlvbiBzdGF0dXMgdG8gYmUgcHJvcGFnYXRlZCB0byBEWEUuDQooRmZzUHJv Y2Vzc0Z2RmlsZSgpIC0+IEZmc0ZpbmRTZWN0aW9uRGF0YSgpIC0+IEZmc1Byb2Nlc3NTZWN0aW9u KCkgLT4gRXh0cmFjdEd1aWRlZFNlY3Rpb25EZWNvZGUoKSksIEZmc0ZpbmRTZWN0aW9uRGF0YSgp IGFuZCBGZnNQcm9jZXNzU2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