path: root/plat/fvp/platform.h
diff options
authorAndrew Thoelke <andrew.thoelke@arm.com>2014-04-28 12:06:18 +0100
committerAndrew Thoelke <andrew.thoelke@arm.com>2014-05-07 11:23:50 +0100
commit2f5dcfef1db42f3b073ae657f8a94925abecd768 (patch)
tree378833fa34bed975066532e5b01cd85390cdc144 /plat/fvp/platform.h
parent8cec598ba3b689b86d9dfc58bca5610bdc48f55a (diff)
Replace disable_mmu with assembler version
disable_mmu() cannot work as a C function as there is no control over data accesses generated by the compiler between disabling and cleaning the data cache. This results in reading stale data from main memory. As assembler version is provided for EL3, and a variant that also disables the instruction cache which is now used by the BL1 exception handling function. Fixes ARM-software/tf-issues#147 Change-Id: I0cf394d2579a125a23c2f2989c2e92ace6ddb1a6
Diffstat (limited to 'plat/fvp/platform.h')
1 files changed, 0 insertions, 1 deletions
diff --git a/plat/fvp/platform.h b/plat/fvp/platform.h
index 1f4e432..988fe23 100644
--- a/plat/fvp/platform.h
+++ b/plat/fvp/platform.h
@@ -371,7 +371,6 @@ extern void bl2_plat_arch_setup(void);
extern void bl31_plat_arch_setup(void);
extern int platform_setup_pm(const struct plat_pm_ops **);
extern unsigned int platform_get_core_pos(unsigned long mpidr);
-extern void disable_mmu(void);
extern void enable_mmu(void);
extern void configure_mmu(struct meminfo *,
unsigned long,