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 84F5780329 for ; Wed, 8 Mar 2017 07:42:03 -0800 (PST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Mar 2017 07:42:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,264,1486454400"; d="scan'208";a="1106234014" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 08 Mar 2017 07:42:02 -0800 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 8 Mar 2017 07:42:02 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 8 Mar 2017 07:42:02 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.204]) with mapi id 14.03.0248.002; Wed, 8 Mar 2017 23:41:59 +0800 From: "Gao, Liming" To: "Justen, Jordan L" , Brijesh Singh , Laszlo Ersek , "edk2-devel@lists.01.org" , "Kinney, Michael D" CC: "Thomas.Lendacky@amd.com" , "leo.duran@amd.com" , "brijesh.sing@amd.com" Thread-Topic: [RFC PATCH v1 4/5] OvmfPkg/BaseIoLibIntrinsic: import BaseIoLibIntrinsic package Thread-Index: AQHSl2cbBgvKPgZ4nkuY1DdpggEyWKGJR7EAgAHHd5A= Date: Wed, 8 Mar 2017 15:41:58 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D6ECFA9@shsmsx102.ccr.corp.intel.com> References: <148884284887.29188.7643544710695103939.stgit@brijesh-build-machine> <148884287496.29188.5155874233993236979.stgit@brijesh-build-machine> <2c6593dd-12f5-9277-0c36-ffd2d6c2cc55@redhat.com> <148891718851.27104.2018366977522352345@jljusten-skl> In-Reply-To: <148891718851.27104.2018366977522352345@jljusten-skl> 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: [RFC PATCH v1 4/5] OvmfPkg/BaseIoLibIntrinsic: import BaseIoLibIntrinsic package 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, 08 Mar 2017 15:42:03 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 DQoNCj4tLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPkZyb206IEp1c3RlbiwgSm9yZGFuIEwN Cj5TZW50OiBXZWRuZXNkYXksIE1hcmNoIDA4LCAyMDE3IDQ6MDYgQU0NCj5UbzogR2FvLCBMaW1p bmcgPGxpbWluZy5nYW9AaW50ZWwuY29tPjsgQnJpamVzaCBTaW5naA0KPjxicmlqZXNoLmtzaW5n aEBnbWFpbC5jb20+OyBMYXN6bG8gRXJzZWsgPGxlcnNla0ByZWRoYXQuY29tPjsgZWRrMi0NCj5k ZXZlbEBsaXN0cy4wMS5vcmc7IEtpbm5leSwgTWljaGFlbCBEIDxtaWNoYWVsLmQua2lubmV5QGlu dGVsLmNvbT4NCj5DYzogVGhvbWFzLkxlbmRhY2t5QGFtZC5jb207IGxlby5kdXJhbkBhbWQuY29t Ow0KPmJyaWplc2guc2luZ0BhbWQuY29tDQo+U3ViamVjdDogUmU6IFtSRkMgUEFUQ0ggdjEgNC81 XSBPdm1mUGtnL0Jhc2VJb0xpYkludHJpbnNpYzoga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