]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Library/ArmLib/ArmV7/ArmV7Mmu.c
ArmPkg/ArmV7Mmu: fix write-through translation table accesses
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 18 Nov 2015 15:58:03 +0000 (15:58 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Wed, 18 Nov 2015 15:58:03 +0000 (15:58 +0000)
commita6ec831c10d7994098e100b441a96bbe735dda01
tree0d2f1977401cf72ea18d3bfc22a37f720193830d
parent6bc35cbaca790fc32904cbb4f1bfc30381910ed0
ArmPkg/ArmV7Mmu: fix write-through translation table accesses

The definition TTBR_WRITE_THROUGH_NO_ALLOC makes little sense, since
a) its meaning is unclear in the context of TTBRx, since write through
   always implies Read-Allocate and no Write-Allocate
b) its definition equals the definition of TTBR_WRITE_BACK_ALLOC

So instead, rename it to TTBR_WRITE_THROUGH and update the definition
to reflect the name.

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