From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: zhaoxin.com, ip: 203.148.12.82, mailfrom: jerryzhou@zhaoxin.com) Received: from ZXSHCAS2.zhaoxin.com (ZXSHCAS2.zhaoxin.com [203.148.12.82]) by groups.io with SMTP; Mon, 13 May 2019 00:33:57 -0700 Received: from zxbjmbx2.zhaoxin.com (10.29.252.164) by ZXSHCAS2.zhaoxin.com (10.28.252.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1261.35; Mon, 13 May 2019 15:35:07 +0800 Received: from zxbjmbx3.zhaoxin.com (10.29.252.165) by zxbjmbx2.zhaoxin.com (10.29.252.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1261.35; Mon, 13 May 2019 15:35:06 +0800 Received: from zxbjmbx3.zhaoxin.com ([fe80::57b:6f00:3193:d8a6]) by zxbjmbx3.zhaoxin.com ([fe80::57b:6f00:3193:d8a6%8]) with mapi id 15.01.1261.035; Mon, 13 May 2019 15:35:06 +0800 From: "Jerry Zhou(BJ-RD)" To: "devel@edk2.groups.io" Subject: =?UTF-8?B?562U5aSNOiBbZWRrMl0gW1BBVENIXSBJbnRlbFNpbGljb25Qa2cgVlRkRHhlOiBhIHF1ZXN0aW9uIGFib3V0IHRoZSBzb3VyY2UgY29kZQ==?= Thread-Topic: [edk2] [PATCH] IntelSiliconPkg VTdDxe: a question about the source code Thread-Index: AdUJNci9WEC63Y3xT7KjRAFsJUkP5QAKF1fw Date: Mon, 13 May 2019 07:35:06 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.29.8.16] MIME-Version: 1.0 Return-Path: JerryZhou@zhaoxin.com Content-Language: zh-CN Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGkgU3Rhciw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