From 8764ed57b4803beaf9254dc22fa54d6c8ddf8249 Mon Sep 17 00:00:00 2001 From: Liming Gao Date: Thu, 30 Nov 2017 15:24:19 +0800 Subject: [PATCH] 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 --- 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 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