summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/system.h
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2017-03-06 20:02:33 +0300
committerYork Sun <york.sun@nxp.com>2017-03-14 18:44:03 +0300
commit7f9b9f318ff152bd8d2e8b573708e2bdc088c1b1 (patch)
tree1e68c347794e41aff62d8ea9091d88d05c269d6e /arch/arm/include/asm/system.h
parentf539c8a4a7a590e1933a7e21d5771528db1d88b7 (diff)
downloadu-boot-7f9b9f318ff152bd8d2e8b573708e2bdc088c1b1.tar.xz
armv8: mmu: Add a function to change mapping attributes
Function mmu_change_region_attr() is added to change existing mapping with updated PXN, UXN and memory type. This is a break-before-make process during which the mapping becomes fault (invalid) before final attributres are set. Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm/include/asm/system.h')
-rw-r--r--arch/arm/include/asm/system.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/system.h b/arch/arm/include/asm/system.h
index 766e929d46..9c3261c884 100644
--- a/arch/arm/include/asm/system.h
+++ b/arch/arm/include/asm/system.h
@@ -226,6 +226,7 @@ void protect_secure_region(void);
void smp_kick_all_cpus(void);
void flush_l3_cache(void);
+void mmu_change_region_attr(phys_addr_t start, size_t size, u64 attrs);
/*
*Issue a secure monitor call in accordance with ARM "SMC Calling convention",