From: Liming Gao Date: Thu, 30 Nov 2017 07:24:19 +0000 (+0800) Subject: UefiCpuPkg: PiSmmCpuDxeSmm Add the missing ASM_PFX in nasm code X-Git-Tag: edk2-stable201903~2915 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=8764ed57b4803beaf9254dc22fa54d6c8ddf8249 UefiCpuPkg: PiSmmCpuDxeSmm Add the missing ASM_PFX in nasm code Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao Reviewed-by: Jiewen Yao Reviewed-by: Eric Dong --- diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiEntry.nasm b/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiEntry.nasm index c3c094ff9f..dc56dc7852 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 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