]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiException.nasm
UefiCpuPkg: Update PiSmmCpuDxeSmm pass XCODE5 tool chain
[mirror_edk2.git] / UefiCpuPkg / PiSmmCpuDxeSmm / X64 / SmiException.nasm
index b2e2e6dee6021f304f48837a05170303e4c4dd51..a8a9af300869a49789c1a435bc81a4315d510de2 100644 (file)
@@ -1,5 +1,5 @@
 ;------------------------------------------------------------------------------ ;\r
-; Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2016 - 2018, 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
@@ -289,7 +289,7 @@ ASM_PFX(PageFaultIdtHandlerSmmProfile):
 \r
 ;; call into exception handler\r
     mov     rcx, [rbp + 8]\r
-    mov     rax, ASM_PFX(SmiPFHandler)\r
+    lea     rax, [ASM_PFX(SmiPFHandler)]\r
 \r
 ;; Prepare parameter and call\r
     mov     rdx, rsp\r