summaryrefslogtreecommitdiff
path: root/MdeModulePkg/MdeModulePkg.dec
diff options
context:
space:
mode:
authorMichael Kinney <michael.d.kinney@intel.com>2015-12-10 07:27:38 +0000
committervanjeff <vanjeff@Edk2>2015-12-10 07:27:38 +0000
commit8e01b4c503c12a00c328cd96d5fbaca818e47980 (patch)
tree72ec399f0e9fd3d0429e92521d1d9b39d4132151 /MdeModulePkg/MdeModulePkg.dec
parentcefdb9e78a5c24e34d66214b659f2b5f5b42f875 (diff)
downloadedk2-platforms-8e01b4c503c12a00c328cd96d5fbaca818e47980.tar.xz
UefiCpuPkg/MtrrLib: Add MtrrSetMemoryAttributeInMtrrSettings()
Add new API MtrrSetMemoryAttributeInMtrrSettings() in MtrrLib. Platform could use this API to set MTRR setting into local MTRR settings buffer instead of MTRRs. At last, platform could use MtrrSetAllMtrrs() to set the MTRR settings into MTRRs totally. It could improve MTRRs programming performance obviously, specially when platform is going to program a set of MTRRs. (Sync patch r19162 from main trunk.) 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/branches/UDK2015@19206 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/MdeModulePkg.dec')
0 files changed, 0 insertions, 0 deletions