This patch adds a flag that will allow us to skip disabling MTRRs on SMT
platforms where the MTRR Enable bit is shared across threads in a CPU core.

The default behavior is unchanged, so existing implementations are not
affected by this patch.

Leo Duran (1):
  UefiCpuPkg/MtrrLib: Add flag to skip disabling MTRRs prior to MTRR
    change.

 UefiCpuPkg/Library/MtrrLib/MtrrLib.c   | 10 +++++++---
 UefiCpuPkg/Library/MtrrLib/MtrrLib.inf |  3 +++
 UefiCpuPkg/UefiCpuPkg.dec              |  7 +++++++
 3 files changed, 17 insertions(+), 3 deletions(-)

-- 
2.7.4

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to