]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmiException.nasm
UefiCpuPkg/SmmCpuFeaturesLib: replace hard-coded machine code
[mirror_edk2.git] / UefiCpuPkg / Library / SmmCpuFeaturesLib / X64 / SmiException.nasm
index fe1bf3f16574dde8e02c7aea86c5e29614204e6d..ce9d7c2bb64e7ecc48755f57bd7d335335712944 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
@@ -86,7 +86,7 @@ ASM_PFX(OnException):
     add  rsp, 0x28\r
     mov  ebx, eax\r
     mov  eax, 4\r
-    DB  0x0f, 0x01, 0x0c1 ; VMCALL\r
+    vmcall\r
     jmp $\r
 \r
 global ASM_PFX(OnStmSetup)\r
@@ -176,4 +176,3 @@ ASM_PFX(OnStmTeardown):
 \r
 .12:\r
   rsm\r
-\r