forked from Imagelibrary/seL4
aarch32: Allow compilation for cortex-a72
cortex-A72 can be run in aarch32 mode similar to cortex-a53. Signed-off-by: Kent McLeod <kent@kry10.com>
This commit is contained in:
committed by
Gerwin Klein
parent
0f497ab3a0
commit
9746e27615
@@ -365,7 +365,7 @@ static inline void cleanByVA_PoU(vptr_t vaddr, paddr_t paddr)
|
||||
/* V6 doesn't distinguish PoU and PoC, so use the basic flush. */
|
||||
asm volatile("mcr p15, 0, %0, c7, c10, 1" : : "r"(vaddr));
|
||||
#elif defined(CONFIG_ARM_CORTEX_A7) || defined(CONFIG_ARM_CORTEX_A15) || \
|
||||
defined(CONFIG_ARM_CORTEX_A53)
|
||||
defined(CONFIG_ARM_CORTEX_A53) || defined(CONFIG_ARM_CORTEX_A72)
|
||||
/* Flush to coherency for table walks... Why? */
|
||||
asm volatile("mcr p15, 0, %0, c7, c10, 1" : : "r"(vaddr));
|
||||
#else
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
#include <config.h>
|
||||
#include <machine/assembler.h>
|
||||
|
||||
#if defined(CONFIG_ARM_CORTEX_A53)
|
||||
#if defined(CONFIG_ARM_CORTEX_A53) || defined(CONFIG_ARM_CORTEX_A72)
|
||||
|
||||
/* A53 hardware does not support TLB locking */
|
||||
/* A53,A72 hardware does not support TLB locking */
|
||||
BEGIN_FUNC(lockTLBEntry)
|
||||
bx lr
|
||||
END_FUNC(lockTLBEntry)
|
||||
|
||||
Reference in New Issue
Block a user