]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiEntry.asm
UefiCpuPkg/SmmCpuFeaturesLib: Fix Ia32/SmiEntry.asm build issue
[mirror_edk2.git] / UefiCpuPkg / Library / SmmCpuFeaturesLib / Ia32 / SmiEntry.asm
index 94888d5aeccce1b1f8a8b6d518a76d204bac625b..91dc1eb3d3bc6b2937e175b717ee3c878adf85ca 100644 (file)
@@ -1,5 +1,5 @@
 ;------------------------------------------------------------------------------ ;\r
-; Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2009 - 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
@@ -201,7 +201,7 @@ CommonHandler:
     call    eax\r
     add     esp, 4\r
 \r
-    mov     eax, gStmXdSupported\r
+    mov     eax, offset gStmXdSupported\r
     mov     al, [eax]\r
     cmp     al, 0\r
     jz      @f\r
@@ -221,7 +221,7 @@ _StmSmiHandler:
 ; Check XD disable bit\r
 ;\r
     xor     esi, esi\r
-    mov     eax, gStmXdSupported\r
+    mov     eax, offset gStmXdSupported\r
     mov     al, [eax]\r
     cmp     al, 0\r
     jz      @StmXdDone\r