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.20; helo=mga02.intel.com; envelope-from=jian.j.wang@intel.com; receiver=edk2-devel@lists.01.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 965AC211AEA45 for ; Wed, 9 Jan 2019 18:33:55 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jan 2019 18:33:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,459,1539673200"; d="scan'208";a="310586146" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga005.fm.intel.com with ESMTP; 09 Jan 2019 18:33:55 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 9 Jan 2019 18:33:54 -0800 Received: from shsmsx107.ccr.corp.intel.com ([169.254.9.239]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.196]) with mapi id 14.03.0415.000; Thu, 10 Jan 2019 10:33:51 +0800 From: "Wang, Jian J" To: Laszlo Ersek , Ard Biesheuvel , "edk2-devel@lists.01.org" , "Zeng, Star" CC: Leif Lindholm , "Kinney, Michael D" , "Gao, Liming" , "Wu, Hao A" , Jagadeesh Ujja , Achin Gupta , Thomas Panakamattam Abraham , Sami Mujawar Thread-Topic: [PATCH 5/6] MdeModulePkg/VariableRuntimeDxe: factor out boot service accesses Thread-Index: AQHUo5I1luTF5gqWyka4Ocl51ouyy6WlAx2AgAK87XA= Date: Thu, 10 Jan 2019 02:33:50 +0000 Message-ID: References: <20190103182825.32231-1-ard.biesheuvel@linaro.org> <20190103182825.32231-7-ard.biesheuvel@linaro.org> <09818de2-2518-38f7-42ac-8882ecb2ea29@redhat.com> In-Reply-To: <09818de2-2518-38f7-42ac-8882ecb2ea29@redhat.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTNhOTNkZDctYjY2Yi00YzAyLTllM2QtMWQyM2NhYTA2YzE2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoieEhlbTJTajJpWG9JZ1wvNm9xWlpoTVwvVmMwRGVwU0ZIVk8yYklnWWMyQTFlNVlGaElTMExQSCs4S0JMVlN6cTI4In0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 5/6] MdeModulePkg/VariableRuntimeDxe: factor out boot service accesses X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 X-List-Received-Date: Thu, 10 Jan 2019 02:33:56 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 TGFzemxvLA0KDQpSZWdhcmRzLA0KSmlhbg0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0t DQo+IEZyb206IExhc3psbyBFcnNlayBbbWFpbHRvOmxlcnNla0ByZWRoYXQuY29tXQ0KPiBTZW50 OiBUdWVzZGF5LCBKYW51YXJ5IDA4LCAyMDE5IDExOjM4IFBNDQo+IFRvOiBBcmQgQmllc2hldXZl bCA8YXJkLmJpZXNoZXV2ZWxAbGluYXJvLm9yZz47IGVkazItZGV2ZWxAbGlzdHMuMDEub3JnDQo+ IENjOiBMZWlmIExpbmRob2xtIDxsZWlmLmxpbmRob2xtQGxp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