From 854c6b80dc3f1d4a151322b21c5fb6952b159ca9 Mon Sep 17 00:00:00 2001 From: Michael Kinney Date: Mon, 5 Dec 2016 20:39:01 -0800 Subject: 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 Cc: Jeff Fan Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney Reviewed-by: Jeff Fan --- UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiException.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiException.S') diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiException.S b/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiException.S index 2e2792db20..338bb70dd8 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiException.S +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiException.S @@ -20,7 +20,6 @@ #------------------------------------------------------------------------------ ASM_GLOBAL ASM_PFX(SmiPFHandler) -ASM_GLOBAL ASM_PFX(gSmiMtrrs) ASM_GLOBAL ASM_PFX(gcSmiIdtr) ASM_GLOBAL ASM_PFX(gcSmiGdtr) ASM_GLOBAL ASM_PFX(gcPsd) @@ -113,7 +112,7 @@ ASM_PFX(gcPsd): .long GDT_SIZE .long 0 .space 24, 0 - .quad ASM_PFX(gSmiMtrrs) + .quad 0 .equ PSD_SIZE, . - ASM_PFX(gcPsd) # -- cgit v1.2.3