]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiEntry.nasm
UefiCpuPkg: PiSmmCpuDxeSmm Add the missing ASM_PFX in nasm code
[mirror_edk2.git] / UefiCpuPkg / PiSmmCpuDxeSmm / X64 / SmiEntry.nasm
index c3c094ff9f7e9882807e71038280b3b801c63c4c..dc56dc7852e278c90c72c89dde3b82e53c266214 100644 (file)
@@ -1,5 +1,5 @@
 ;------------------------------------------------------------------------------ ;\r
-; Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>\r
 ; This program and the accompanying materials\r
 ; are licensed and made available under the terms and conditions of the BSD License\r
 ; which accompanies this distribution.  The full text of the license may be found at\r
@@ -184,15 +184,15 @@ _SmiHandler:
     add     rsp, -0x20\r
 \r
     mov     rcx, rbx\r
-    mov     rax, CpuSmmDebugEntry\r
+    mov     rax, ASM_PFX(CpuSmmDebugEntry)\r
     call    rax\r
 \r
     mov     rcx, rbx\r
-    mov     rax, SmiRendezvous          ; rax <- absolute addr of SmiRedezvous\r
+    mov     rax, ASM_PFX(SmiRendezvous)  ; rax <- absolute addr of SmiRedezvous\r
     call    rax\r
 \r
     mov     rcx, rbx\r
-    mov     rax, CpuSmmDebugExit\r
+    mov     rax, ASM_PFX(CpuSmmDebugExit)\r
     call    rax\r
 \r
     add     rsp, 0x20\r
@@ -220,5 +220,5 @@ _SmiHandler:
 .1:\r
     rsm\r
 \r
-gcSmiHandlerSize    DW      $ - _SmiEntryPoint\r
+ASM_PFX(gcSmiHandlerSize)    DW      $ - _SmiEntryPoint\r
 \r