summaryrefslogtreecommitdiff
path: root/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h
diff options
context:
space:
mode:
authorMichael Kinney <michael.d.kinney@intel.com>2015-12-08 05:23:44 +0000
committervanjeff <vanjeff@Edk2>2015-12-08 05:23:44 +0000
commitfa25cf38d988778ef3237e17fc93c1fa0c9e9f8a (patch)
treefe0e47cd5906369617ad314f37be74d632b4d545 /UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h
parentd0baed7db51382d17efe92b1fc8fb741052f116a (diff)
downloadedk2-platforms-fa25cf38d988778ef3237e17fc93c1fa0c9e9f8a.tar.xz
UefiCpuPkg/MtrrLib: Reduce hardware init when program fixed MTRRs
When MtrrSetMemoryAttribute() programs fixed MTRRs, it may disable/enable cache and disable/enable MTRRs several times. This updating tries to do operation in local variable and does the hardware initialization one time only. Cc: Feng Tian <feng.tian@intel.com> Cc: Michael Kinney <michael.d.kinney@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney <michael.d.kinney@intel.com> Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19157 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h')
0 files changed, 0 insertions, 0 deletions