]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/MtrrLib: Make use of worker functions to get MTRRs count
authorMichael Kinney <michael.d.kinney@intel.com>
Tue, 8 Dec 2015 05:22:42 +0000 (05:22 +0000)
committervanjeff <vanjeff@Edk2>
Tue, 8 Dec 2015 05:22:42 +0000 (05:22 +0000)
commitacf431e6f7bd7691468904cb9bb19ab1cc44eccf
tree741fdebf7993da3fffef948cf27ccb8e39ce1c69
parent85b7f65b39f7e5873b1bb9b99c601b3865e55f93
UefiCpuPkg/MtrrLib: Make use of worker functions to get MTRRs count

Try to make use of worker functions to get MTRRs count. It could avoid invoking
IsMtrrSupported() for many times.

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@19155 6f19259b-4bc3-4df7-8a09-765794883524
UefiCpuPkg/Library/MtrrLib/MtrrLib.c