]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg: Invalidate cache after allocating UC memory
authorHeyi Guo <heyi.guo@linaro.org>
Mon, 23 Nov 2015 07:48:33 +0000 (07:48 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Mon, 23 Nov 2015 07:48:33 +0000 (07:48 +0000)
commite266db592bd41082349bc6b35be809ff2053a299
tree562182013032bd84aa0e6076f50a98ac29154276
parent78b6eb659d5f40abcac1236bb0019499692c494e
ArmPkg: Invalidate cache after allocating UC memory

It is implied that the memory returned from UncachedMemoryAllocationLib
should have cache invalidated. So we invalidate memory range after
changing memory attribute to uncached.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18920 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c
ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf