From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=220.181.13.92; helo=m13-92.163.com; envelope-from=sssky307@163.com; receiver=edk2-devel@lists.01.org Received: from m13-92.163.com (m13-92.163.com [220.181.13.92]) by ml01.01.org (Postfix) with ESMTP id 591EA2220D207 for ; Tue, 9 Jan 2018 23:39:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=sIH1B 5RDB6gkGxlUjrJglyBHjnO+88kSKdz5/6m+B8U=; b=DjSgRHrkZvKRK4yFh9C0O QtwJ0vT+PldI4T1YpTEtP9Uler8t9QNICWzZNqgkE0Oy2j0Cc1GIZlcigjErqA3c NGDrzV0ZjYNPh6+tFFHzJb1rtrZ3xPDP9Obn7uz/dJR+mz4Uj3F/vcTrI+oJGHLT uwZUSa5diTymwXKDr+z80c= Received: from sssky307$163.com ( [113.88.137.78] ) by ajax-webmail-wmsvr92 (Coremail) ; Wed, 10 Jan 2018 15:43:56 +0800 (CST) X-Originating-IP: [113.88.137.78] Date: Wed, 10 Jan 2018 15:43:56 +0800 (CST) From: krishnaLee To: edk2-devel@lists.01.org X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20160729(86883.8884) Copyright (c) 2002-2018 www.mailtech.cn 163com MIME-Version: 1.0 Message-ID: <31e5cb44.8179.160df068d3a.Coremail.sssky307@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: XMGowAC3yFw9xFVaWLpCAA--.42894W X-CM-SenderInfo: 5vvvy5qtqxqiywtou0bp/1tbisQ-JrVXlay3VCwABsz X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== X-Content-Filtered-By: Mailman/MimeDel 2.1.23 Subject: Communicate with soft-smi-handler with uefi-application question. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jan 2018 07:39:03 -0000 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: base64 SGksCkknbSBsZWFybmluZyAgdG8gd3JpdGUgYW5kIHJlZ2lzdGVyIHNvbWUgc29mdC1TbWktSGFu ZGxlciBpbiBzbW0tbW9kZTsKdGhlbiB1c2luZyBRRU1VIHRvIGJvb3QgbXkgb3ZtZi5mZCxydW4g aW50byB1ZWZpIHNoZWxsOwp0aGVuIHdyaXRlIHVlZmktYXBwbGljYXRpb24gdXNpbmcgRUZJX1NN TV9DT01NVU5JQ0FUSU9OX1BST1RPQ09MIHRvIENvbW11bmljYXRlIHRvIG15IFNtaS1IYW5kbGVy LGJ1dCBmYWlsZWQgd2hlbiBydW4gbXkgdWVmaS1hcHBsaWNhdGlvbix0aGUgbG9nIHNob3cgZXJy b3IuCkkgZG9uJ3Qga25vdyB3aHksbWF5YmUgSSBkbyBub3QgZnVsbCB1bmRlcnN0YW5kIHVlZmkt c21tLGJ1dCBob3cgdG8gY29tbXVuaWNhdGUgdG8gbXkgc21pIGhhbmRsZXI/CgoKLy9lcnJvci1t ZXNzYWdlCltTZWN1cml0eV0gM3JkIHBhcnR5IGltYWdlWzBdIGNhbiBiZSBsb2FkZWQgYWZ0ZXIg RW5kT2ZEeGU6IFBjaVJvb3QoMHgwKS9QY2koMHgxRiwweDIpL1NhdGEoMHgwLDB4RkZGRiwweDAp L0hEKDEsTUJSLDB4QkUxQUZERkEsMHgzRiwweEZCRkMxKS9cbXl0ZXN0c21tLmVmaS4KSW5zdGFs bFByb3RvY29sSW50ZXJmYWNlOiA1QjFCMzFBMS05NTYyLTExRDItOEUzRi0wMEEwQzk2OTcyM0Ig NjVGQzRBOApMb2FkaW5nIGRyaXZlciBhdCAweDAwMDA2MkIwMDAwIEVudHJ5UG9pbnQ9MHgwMDAw NjJCMTBGNSBteXRlc3RzbW0uZWZpC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