]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c
ArmPkg: Fix UncachedFreeAlignedPages in UncachedMemoryAllocationLib
authorEugene Cohen <eugene@hp.com>
Mon, 15 Jul 2013 23:59:58 +0000 (23:59 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 15 Jul 2013 23:59:58 +0000 (23:59 +0000)
commita7463b30402033eb87dba85e32819f2e3a3201ba
tree6bd4c47082d041577e18f79f2089d1dfefafa363
parentb95a25d1ca5db400338d65792aa9da15c2c6f706
ArmPkg: Fix UncachedFreeAlignedPages in UncachedMemoryAllocationLib

Route both the setting and restoring of cacheability through DXE Services/GCD
and stop using the CPU AP directly.
The patch also removes all references to the CPU AP which eliminates the need
for a library constructor.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen <eugene@hp.com>
Reviewed-by: Senthil Ramakrishnan <senthil.ramakrishnan@hp.com>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14468 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c
ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf