From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.88; helo=mga01.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (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 D2B08203564C1 for ; Tue, 28 Nov 2017 02:10:31 -0800 (PST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Nov 2017 02:14:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,467,1505804400"; d="scan'208";a="1249407156" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga002.fm.intel.com with ESMTP; 28 Nov 2017 02:14:52 -0800 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 28 Nov 2017 02:14:52 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX125.amr.corp.intel.com (10.18.125.40) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 28 Nov 2017 02:14:52 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.152]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.213]) with mapi id 14.03.0319.002; Tue, 28 Nov 2017 18:14:50 +0800 From: "Gao, Liming" To: Laszlo Ersek , "Ni, Ruiyu" CC: "edk2-devel@lists.01.org" , "Zhu, Yonghong" , Ard Biesheuvel , "Justen, Jordan L" Thread-Topic: [PATCH] OvmfPkg/Sec: Fix 64bit SEC build failure Thread-Index: AQHTZ5DE58XPn+JWR0K3s1/3ZTvxd6Mpkj4Q Date: Tue, 28 Nov 2017 10:14:49 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E18445B@SHSMSX104.ccr.corp.intel.com> References: <20171127013831.294104-1-ruiyu.ni@intel.com> <35fa258e-96ef-5dfb-cc06-287c3488a75b@redhat.com> In-Reply-To: <35fa258e-96ef-5dfb-cc06-287c3488a75b@redhat.com> 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] OvmfPkg/Sec: Fix 64bit SEC build failure X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Nov 2017 10:10:32 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 VGhpcyBpcyBWUyBDTCBpc3N1ZS4gIEl0IHByZXByb2Nlc3NlcyBiZWxvdyBGaXhlZFBjZEdldDMy KCkgdG8gdGhlIGZpeGVkIHZhbHVlLCBidXQgbG9zdCAnXCcuIFNvLCBpdCB3aWxsIGNhdXNlIG5h c20gY29tcGlsZXIgZmFpbHVyZS4gVG8gYXZvaWQgaXQsIHdlIG5lZWQgdG8gbWFrZSBzdXJlIEZp eGVkUGNkR2V0MzIgKFBjZEluaXRWYWx1ZUluVGVtcFN0YWNrKSBhdCBvbmUgbGluZS4NCg0KICBG aXhlZFBjZEdldDMyICggICAgICAgICAgICAgICAgICAgICAgICBcDQogICAgICAgICAgICAgICAg ICAgIFBjZEluaXRWYWx1ZUluVGVtcFN0YWNrICAgICAgICAgICAgICBcDQogICAgICAgICAgICAg ICAgICAgICkNCj09PiANCg0KDQoweDVBQTU1QUE1VQ0KDQpUaGFua3MNCkxpbWluZw0KPi0tLS0t T3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+RnJvbTogTGFzemxvIEVyc2VrIFttYWlsdG86bGVyc2Vr QHJlZGhhdC5jb21dDQo+U2VudDogTW9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Cj4+ICsgICAgbW92ICAgICByYXgsIChGaXhlZFBjZEdldDMy IChQY2RJbml0VmFsdWVJblRlbXBTdGFjaykgPDwgMzIpIHwNCj5GaXhlZFBjZEdldDMyIChQY2RJ bml0VmFsdWVJblRlbXBTdGFjaykNCj4+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDsgcXdvcmQgdG8gc3RvcmUNCj4+ICAgICAg bW92ICAgICByZGksIEZpeGVkUGNkR2V0MzIgKFBjZE92bWZTZWNQZWlUZW1wUmFtQmFzZSkgICAg IDsgYmFzZQ0KPmFkZHJlc3MsDQo+PiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICA7ICAgcmVsYXRpdmUgdG8NCj4+ICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDsg ICBFUw0KPj4NCj4NCj5JJ2QgbGlrZSB0byB1bmRlcnN0YW5kIG1vcmUgYWJvdXQgdGhlIGJ1aWxk IGZhaWx1cmUuIEFzIGZhciBhcyBJIHVuZGVyc3RhbmQsIHRoZQ0KPk5BU00gdG9vbCBpdHNlbGYg aGFzIG5vIHByb2JsZW0gd2l0aCB0aGUgYmFja3NsYXNoIGxpbmUgY29udGludWF0aW9uOyBiZWZv cmUgSQ0KPnBvc3RlZCB0aGUgcGF0Y2gsIEkgY2hlY2tlZCB0aGUgTkFTTSBtYW51YWwgZm9yIHRo aXMgZmVhdHVyZS4NCj4NCj5odHRwOi8vd3d3Lm5hc20udXMvZG9jL25hc21kb2MzLmh0bWwjc2Vj dGlvbi0zLjENCj4NCj4gICAgTkFTTSB1c2VzIGJhY2tzbGFzaCAoXCkgYXMgdGhlIGxpbmUgY29u dGludWF0aW9uIGNoYXJhY3RlcjsgaWYgYQ0KPiAgICBsaW5lIGVuZHMgd2l0aCBiYWNrc2xhc2gs IHR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