]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/X64/SetJump.nasm
MdePkg: Replace Opcode with the corresponding instructions.
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / SetJump.nasm
index 5a68396eec3001734399df3a8131377a5ca9df58..5943a5ebe59fc8a6ceec10da6ee5c8140e80818f 100644 (file)
@@ -1,6 +1,6 @@
 ;------------------------------------------------------------------------------\r
 ;\r
-; Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR>\r
 ; SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ;\r
 ; Module Name:\r
@@ -48,8 +48,8 @@ ASM_PFX(SetJump):
     jnc     CetDone\r
 \r
     mov     rax, 1\r
-    INCSSP_RAX                           ; to read original SSP\r
-    READSSP_RAX\r
+    incsspq rax                          ; to read original SSP\r
+    rdsspq  rax\r
     mov     [rcx + 0xF8], rax            ; save SSP\r
 \r
 CetDone:\r