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.24; helo=mga09.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (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 F3ECD2218E923 for ; Wed, 6 Dec 2017 18:48:54 -0800 (PST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Dec 2017 18:53:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,370,1508828400"; d="scan'208";a="9775868" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by FMSMGA003.fm.intel.com with ESMTP; 06 Dec 2017 18:53:27 -0800 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 6 Dec 2017 18:53:26 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX126.amr.corp.intel.com (10.18.125.43) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 6 Dec 2017 18:53:26 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.152]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.159]) with mapi id 14.03.0319.002; Thu, 7 Dec 2017 10:53:24 +0800 From: "Gao, Liming" To: "Yao, Jiewen" , "edk2-devel@lists.01.org" CC: "Dong, Eric" Thread-Topic: [edk2] [Patch] UefiCpuPkg: PiSmmCpuDxeSmm Add the missing ASM_PFX in nasm code Thread-Index: AQHTbwVuLoExsxeYF0+HjoIdAwm896M2qICAgACGYBA= Date: Thu, 7 Dec 2017 02:53:23 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E18BA1A@SHSMSX104.ccr.corp.intel.com> References: <1512614710-9956-1-git-send-email-liming.gao@intel.com> <74D8A39837DF1E4DA445A8C0B3885C503AA3C710@shsmsx102.ccr.corp.intel.com> In-Reply-To: <74D8A39837DF1E4DA445A8C0B3885C503AA3C710@shsmsx102.ccr.corp.intel.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] UefiCpuPkg: PiSmmCpuDxeSmm Add the missing ASM_PFX in nasm code 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: Thu, 07 Dec 2017 02:48:55 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Do you mean SmmCpuFeaturesLib also has the similar issue? If yes, I will pr= ovide the patch to fix it.=20 >-----Original Message----- >From: Yao, Jiewen >Sent: Thursday, December 07, 2017 10:52 AM >To: Gao, Liming ; edk2-devel@lists.01.org >Cc: Dong, Eric >Subject: RE: [edk2] [Patch] UefiCpuPkg: PiSmmCpuDxeSmm Add the missing >ASM_PFX in nasm code > >Hi Liming >Reviewed-by: Jiewen.yao@intel.com > >BTW: Do you think we also need update SmmCpuFeaturesLib ? > >Thank you >Yao Jiewen > > >> -----Original Message----- >> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >Liming >> Gao >> Sent: Thursday, December 7, 2017 10:45 AM >> To: edk2-devel@lists.01.org >> Cc: Dong, Eric >> Subject: [edk2] [Patch] UefiCpuPkg: PiSmmCpuDxeSmm Add the missing >> ASM_PFX in nasm code >> >> Contributed-under: TianoCore Contribution Agreement 1.1 >> Signed-off-by: Liming Gao >> Cc: Eric Dong >> --- >> UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiEntry.nasm | 10 +++++----- >> 1 file changed, 5 insertions(+), 5 deletions(-) >> >> diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiEntry.nasm >> b/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiEntry.nasm >> index c3c094f..dc56dc7 100644 >> --- a/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiEntry.nasm >> +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiEntry.nasm >> @@ -1,5 +1,5 @@ >> ;----------------------------------------------------------------------= -------- ; >> -; Copyright (c) 2016, Intel Corporation. All rights reserved.
>> +; Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved. >> ; This program and the accompanying materials >> ; are licensed and made available under the terms and conditions of the= BSD >> License >> ; which accompanies this distribution. The full text of the license ma= y be >found >> at >> @@ -184,15 +184,15 @@ _SmiHandler: >> add rsp, -0x20 >> >> mov rcx, rbx >> - mov rax, CpuSmmDebugEntry >> + mov rax, ASM_PFX(CpuSmmDebugEntry) >> call rax >> >> mov rcx, rbx >> - mov rax, SmiRendezvous ; rax <- absolute addr of >> SmiRedezvous >> + mov rax, ASM_PFX(SmiRendezvous) ; rax <- absolute addr of >> SmiRedezvous >> call rax >> >> mov rcx, rbx >> - mov rax, CpuSmmDebugExit >> + mov rax, ASM_PFX(CpuSmmDebugExit) >> call rax >> >> add rsp, 0x20 >> @@ -220,5 +220,5 @@ _SmiHandler: >> .1: >> rsm >> >> -gcSmiHandlerSize DW $ - _SmiEntryPoint >> +ASM_PFX(gcSmiHandlerSize) DW $ - _SmiEntryPoint >> >> -- >> 2.8.0.windows.1 >> >> _______________________________________________ >> edk2-devel mailing list >> edk2-devel@lists.01.org >> https://lists.01.org/mailman/listinfo/edk2-devel