]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/Library/MtrrLib/MtrrLib.c
UefiCpuPkg/MtrrLib: Add MtrrGetMemoryAttributeInVariableMtrrWorker ()
authorMichael Kinney <michael.d.kinney@intel.com>
Tue, 8 Dec 2015 05:23:13 +0000 (05:23 +0000)
committervanjeff <vanjeff@Edk2>
Tue, 8 Dec 2015 05:23:13 +0000 (05:23 +0000)
commitd0baed7db51382d17efe92b1fc8fb741052f116a
tree8f6047eb8e28648f077b9e2a99f925719d30f3b9
parentacf431e6f7bd7691468904cb9bb19ab1cc44eccf
UefiCpuPkg/MtrrLib: Add MtrrGetMemoryAttributeInVariableMtrrWorker ()

Add function to shadow the content of variable MTRRs into an internal array:
VariableMtrr. And used MtrrGetMemoryAttributeInVariableMtrrWorker() in other
functions.

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