From: Liming Gao <liming.gao@intel.com>
To: edk2-devel@lists.01.org
Cc: Eric Dong <eric.dong@intel.com>
Subject: [Patch] UefiCpuPkg: PiSmmCpuDxeSmm Add the missing ASM_PFX in nasm code
Date: Thu, 7 Dec 2017 10:45:10 +0800 [thread overview]
Message-ID: <1512614710-9956-1-git-send-email-liming.gao@intel.com> (raw)
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
---
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.<BR>
+; Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>
; 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 may 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
next reply other threads:[~2017-12-07 2:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-07 2:45 Liming Gao [this message]
2017-12-07 2:51 ` [Patch] UefiCpuPkg: PiSmmCpuDxeSmm Add the missing ASM_PFX in nasm code Dong, Eric
2017-12-07 2:51 ` Yao, Jiewen
2017-12-07 2:53 ` Gao, Liming
2017-12-07 3:00 ` Yao, Jiewen
2017-12-07 3:44 ` Gao, Liming
2017-12-07 4:10 ` Yao, Jiewen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1512614710-9956-1-git-send-email-liming.gao@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox