summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmiException.nasm
diff options
context:
space:
mode:
authorMichael Kinney <michael.d.kinney@intel.com>2016-12-05 20:39:01 -0800
committerMichael Kinney <michael.d.kinney@intel.com>2016-12-06 23:34:16 -0800
commit854c6b80dc3f1d4a151322b21c5fb6952b159ca9 (patch)
treee8bd30da87830e9f6ac20d048bbf88d15fc5b59e /UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmiException.nasm
parenta6b7bc7a87bc7690f7f5fd48cfcd79f14676896e (diff)
downloadedk2-854c6b80dc3f1d4a151322b21c5fb6952b159ca9.tar.gz
edk2-854c6b80dc3f1d4a151322b21c5fb6952b159ca9.tar.bz2
edk2-854c6b80dc3f1d4a151322b21c5fb6952b159ca9.zip
UefiCpuPkg/PiSmmCpuDxeSmm: Remove MTRR field from PSD
https://bugzilla.tianocore.org/show_bug.cgi?id=277 The MTRR field was removed from PROCESS_SMM_DESCRIPTOR structure in commit: https://github.com/tianocore/edk2/commit/26ab5ac3621bdefe96987f8c1512ca79e1bb7ac0 However, the references to the MTRR field in assembly files were not removed. Remove the extern reference to gSmiMtrr and set the Reserved14 field of PROCESS_SMM_DESCRIPTOR to 0. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jeff Fan <jeff.fan@intel.com> Cc: Feng Tian <feng.tian@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney <michael.d.kinney@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Diffstat (limited to 'UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmiException.nasm')
-rw-r--r--UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmiException.nasm3
1 files changed, 1 insertions, 2 deletions
diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmiException.nasm b/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmiException.nasm
index 4d58999e90..7c80a6ae91 100644
--- a/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmiException.nasm
+++ b/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmiException.nasm
@@ -19,7 +19,6 @@
;-------------------------------------------------------------------------------
extern ASM_PFX(FeaturePcdGet (PcdCpuSmmProfileEnable))
-extern ASM_PFX(gSmiMtrrs)
extern ASM_PFX(SmiPFHandler)
global ASM_PFX(gcSmiIdtr)
@@ -243,7 +242,7 @@ ASM_PFX(gcPsd):
DD 0
times 24 DB 0
DD 0
- DD ASM_PFX(gSmiMtrrs)
+ DD 0
PSD_SIZE equ $ - ASM_PFX(gcPsd)
ASM_PFX(gcSmiGdtr):