diff options
author | Michael Kinney <michael.d.kinney@intel.com> | 2015-12-10 07:24:56 +0000 |
---|---|---|
committer | vanjeff <vanjeff@Edk2> | 2015-12-10 07:24:56 +0000 |
commit | d4ac50dfffbccd5fe608de084be489c7b45d93eb (patch) | |
tree | a706e55b05a8f68c222e4e7d4c534db6ea41985e /MdeModulePkg/Bus/Pci/PciSioSerialDxe/ComponentName.c | |
parent | 58672619a3f1cf4c022d4c0c3c1cca071f70fc85 (diff) | |
download | edk2-platforms-d4ac50dfffbccd5fe608de084be489c7b45d93eb.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.
(Sync patch r19157 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@19201 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Pci/PciSioSerialDxe/ComponentName.c')
0 files changed, 0 insertions, 0 deletions