]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Core/Dxe/DxeMain.h
MdeModulePkg DxeCore: Don't cache memory mapped IO FV.
authorStar Zeng <star.zeng@intel.com>
Wed, 27 Aug 2014 08:31:44 +0000 (08:31 +0000)
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 27 Aug 2014 08:31:44 +0000 (08:31 +0000)
commiteb1cace292ff0c66ca11eff4703c9fa16219c2a1
tree83d468a07e859d38d11fe74e8c1edacd634352fb
parent436296125b1b013b211d7cfa80df5ea9421bfebd
MdeModulePkg DxeCore: Don't cache memory mapped IO FV.

Previous DxeCore FwVol code will cache whole FvMain FV from flash that may be
uncached if platform reports FvMain FVB, it will impact DXE performance.

The code already has file level cache, so don’t need to cache memory mapped IO FV.
It can also reduce memory consumption of caching memory mapped IO FVs.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15916 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Core/Dxe/DxeMain.h
MdeModulePkg/Core/Dxe/FwVol/FwVol.c
MdeModulePkg/Core/Dxe/FwVol/FwVolDriver.h
MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c
MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c