summaryrefslogtreecommitdiff
path: root/Core/UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiEntry.asm
diff options
context:
space:
mode:
authorJeff Fan <jeff.fan@intel.com>2017-05-10 14:42:41 +0800
committerGuo Mang <mang.guo@intel.com>2017-07-12 11:24:41 +0800
commitf99a0c091213d67fa9135d091854a353a238a37a (patch)
tree830b4e75120b73f885ddd2204409acf59a91f707 /Core/UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiEntry.asm
parent8beba33c77c2f4f19f27fe870bd36ed6fbf357d5 (diff)
downloadedk2-platforms-f99a0c091213d67fa9135d091854a353a238a37a.tar.xz
UefiCpuPkg/SmmCpuFeaturesLib: Fix Ia32/SmiEntry.asm build issue
Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Eric Dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> (cherry picked from commit 6afc643ce0eded9ccbd015a5cd6d2ba0e264b01d)
Diffstat (limited to 'Core/UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiEntry.asm')
-rw-r--r--Core/UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiEntry.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Core/UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiEntry.asm b/Core/UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiEntry.asm
index 94888d5aec..91dc1eb3d3 100644
--- a/Core/UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiEntry.asm
+++ b/Core/UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiEntry.asm
@@ -1,5 +1,5 @@
;------------------------------------------------------------------------------ ;
-; Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
+; Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. The full text of the license may be found at
@@ -201,7 +201,7 @@ CommonHandler:
call eax
add esp, 4
- mov eax, gStmXdSupported
+ mov eax, offset gStmXdSupported
mov al, [eax]
cmp al, 0
jz @f
@@ -221,7 +221,7 @@ _StmSmiHandler:
; Check XD disable bit
;
xor esi, esi
- mov eax, gStmXdSupported
+ mov eax, offset gStmXdSupported
mov al, [eax]
cmp al, 0
jz @StmXdDone