]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/Cet.nasm
UefiCpuPkg: Replace Opcode with the corresponding instructions.
[mirror_edk2.git] / UefiCpuPkg / PiSmmCpuDxeSmm / Ia32 / Cet.nasm
index 0919d6d05fe6324ff209f487cd6a95d61c27d61e..9d66b9c5dadd90c8d47bf5749babc8f94ac0d133 100644 (file)
@@ -1,5 +1,5 @@
 ;------------------------------------------------------------------------------ ;\r
 ;------------------------------------------------------------------------------ ;\r
-; Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2019 - 2022, Intel Corporation. All rights reserved.<BR>\r
 ; SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ;\r
 ;-------------------------------------------------------------------------------\r
 ; SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ;\r
 ;-------------------------------------------------------------------------------\r
@@ -13,7 +13,7 @@ ASM_PFX(DisableCet):
 \r
     ; Skip the pushed data for call\r
     mov     eax, 1\r
 \r
     ; Skip the pushed data for call\r
     mov     eax, 1\r
-    INCSSP_EAX\r
+    incsspd eax\r
 \r
     mov     eax, cr4\r
     btr     eax, 23                      ; clear CET\r
 \r
     mov     eax, cr4\r
     btr     eax, 23                      ; clear CET\r