mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 16:44:10 +02:00
UefiCpuPkg: PiSmmCpuDxeSmm Add the missing ASM_PFX in nasm code
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com>
This commit is contained in:
parent
1015fb3c1b
commit
8764ed57b4
@ -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
|
; This program and the accompanying materials
|
||||||
; are licensed and made available under the terms and conditions of the BSD License
|
; 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
|
; which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -184,15 +184,15 @@ _SmiHandler:
|
|||||||
add rsp, -0x20
|
add rsp, -0x20
|
||||||
|
|
||||||
mov rcx, rbx
|
mov rcx, rbx
|
||||||
mov rax, CpuSmmDebugEntry
|
mov rax, ASM_PFX(CpuSmmDebugEntry)
|
||||||
call rax
|
call rax
|
||||||
|
|
||||||
mov rcx, rbx
|
mov rcx, rbx
|
||||||
mov rax, SmiRendezvous ; rax <- absolute addr of SmiRedezvous
|
mov rax, ASM_PFX(SmiRendezvous) ; rax <- absolute addr of SmiRedezvous
|
||||||
call rax
|
call rax
|
||||||
|
|
||||||
mov rcx, rbx
|
mov rcx, rbx
|
||||||
mov rax, CpuSmmDebugExit
|
mov rax, ASM_PFX(CpuSmmDebugExit)
|
||||||
call rax
|
call rax
|
||||||
|
|
||||||
add rsp, 0x20
|
add rsp, 0x20
|
||||||
@ -220,5 +220,5 @@ _SmiHandler:
|
|||||||
.1:
|
.1:
|
||||||
rsm
|
rsm
|
||||||
|
|
||||||
gcSmiHandlerSize DW $ - _SmiEntryPoint
|
ASM_PFX(gcSmiHandlerSize) DW $ - _SmiEntryPoint
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user