]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/SetJump.nasm
MdePkg: Replace Opcode with the corresponding instructions.
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / SetJump.nasm
index 364613b5f9a58afe1d3cfa510d40661630ff550f..257737324120c59acb57e467fdb279f7eba8f6c5 100644 (file)
@@ -1,6 +1,6 @@
 ;------------------------------------------------------------------------------\r
 ;\r
 ;------------------------------------------------------------------------------\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
 ; SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ;\r
 ; Module Name:\r
@@ -46,8 +46,8 @@ ASM_PFX(SetJump):
     jnc     CetDone\r
 \r
     mov     eax, 1\r
     jnc     CetDone\r
 \r
     mov     eax, 1\r
-    INCSSP_EAX                     ; to read original SSP\r
-    READSSP_EAX\r
+    incsspd eax                    ; to read original SSP\r
+    rdsspd  eax\r
     mov     [edx + 0x24], eax      ; save SSP\r
 \r
 CetDone:\r
     mov     [edx + 0x24], eax      ; save SSP\r
 \r
 CetDone:\r