ArmPkg/UncachedMemoryAllocationLib: Track uncached memory allocations
Keeping track of uncached memory allocations prevents doing expensive cache operations (eg: clean & invalidate) on newly allocated regions by reusing regions where possible Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16205 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
committed by
oliviermartin
parent
9180ab73e6
commit
1a70a690ea
@ -23,6 +23,8 @@
|
||||
VERSION_STRING = 1.0
|
||||
LIBRARY_CLASS = UncachedMemoryAllocationLib
|
||||
|
||||
DESTRUCTOR = UncachedMemoryAllocationLibDestructor
|
||||
|
||||
[Sources.common]
|
||||
UncachedMemoryAllocationLib.c
|
||||
|
||||
@ -34,5 +36,8 @@
|
||||
BaseLib
|
||||
ArmLib
|
||||
MemoryAllocationLib
|
||||
PcdLib
|
||||
DxeServicesTableLib
|
||||
|
||||
[Pcd]
|
||||
gArmTokenSpaceGuid.PcdArmFreeUncachedMemorySizeThreshold
|
||||
|
Reference in New Issue
Block a user