]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Include/Library/ArmLib.h
ArmPkg/ArmLib: add accessor function for Cache Writeback Granule
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 9 Nov 2015 13:28:17 +0000 (13:28 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Mon, 9 Nov 2015 13:28:17 +0000 (13:28 +0000)
commitc653fc2a91a946ea249e5d6161bca84f6c824f09
treed7f4d81b5b674fdc1bdf02ec67a38ab8a08d5462
parent8c5ac451d570f0a5680dd7614eb19404feb717d9
ArmPkg/ArmLib: add accessor function for Cache Writeback Granule

Add a function to ArmLib that provides access to the Cache Writeback
Granule (CWG) field in CTR_EL0. This information is required when
performing non-coherent DMA.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18758 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Include/Library/ArmLib.h
ArmPkg/Library/ArmLib/Common/ArmLib.c