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=liming.gao@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 981C221A02937 for ; Mon, 24 Sep 2018 17:26:55 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Sep 2018 17:26:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,299,1534834800"; d="scan'208";a="93389888" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga001.jf.intel.com with ESMTP; 24 Sep 2018 17:26:54 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 24 Sep 2018 17:26:54 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 24 Sep 2018 17:26:54 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.183]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.245]) with mapi id 14.03.0319.002; Tue, 25 Sep 2018 08:26:52 +0800 From: "Gao, Liming" To: Laszlo Ersek , "edk2-devel@lists.01.org" CC: "Dong, Eric" , "Yao, Jiewen" Thread-Topic: [PATCH v2] UefiCpuPkg PiSmmCpuDxeSmm: Update SmiEntry function run the same position Thread-Index: AQHUUZiyuSiCris5XEqzfVo6455AX6UAKYdg Date: Tue, 25 Sep 2018 00:26:51 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E31666F@SHSMSX104.ccr.corp.intel.com> References: <1536729218-8884-1-git-send-email-liming.gao@intel.com> <1537491361-3172-1-git-send-email-liming.gao@intel.com> In-Reply-To: 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: [PATCH v2] UefiCpuPkg PiSmmCpuDxeSmm: Update SmiEntry function run the same position 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: Tue, 25 Sep 2018 00:26:55 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 TGFzemxvOg0KICBUaGFua3MgZm9yIHlvdXIgY29tbWVudHMuIEkgaGF2ZSBjb3JyZWN0ZWQgdGhl IHBhdGNoIGFuZCBwdXNoZWQgaXQgaW50byBlZGsyLiANCg0KVGhhbmtzDQpMaW1pbmcNCj4tLS0t LU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPkZyb206IExhc3psbyBFcnNlayBbbWFpbHRvOmxlcnNl a0ByZWRoYXQuY29tXQ0KPlNlbnQ6IEZyaWRheSwgU2VwdGVtYmVyIDIxLCAyMDE4IDY6NDkgUE0N Cj5UbzogR2FvLCBMaW1pbmcgPGxpbWluZy5nYW9AaW50ZWwuY29tPjsgZWRrMi1kZXZlbEBsaXN0 cy4wMS5vcmcNCj5DYzogRG9uZywgRXJpYyA8ZXJpYy5kb25nQGludGVsLmNvbT47IFlhbywgSmll d2VuIDxqaWV3ZW4ueWFvQGludGVsLmNvbT4NCj5TdWJqZWN0OiBSZTogW1BBVENIIHYyXSBVZWZp Q3B1UGtnIFBpU21tQ3B1RHhlU21tOiBVcGRhdGUgU21pRW50cnkNCj5mdW5jdGlvbiBydW4gdGhl IHNhbWUgcG9zaXRpb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