From 2f97effab96483e0a62ae7048e3213c7104e2b2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Tue, 13 Apr 2010 14:29:37 +0000 Subject: mmu-arm* : cpucache_invalidate() needs to be in IRAM for rolo git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25627 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/mmu-arm.S | 4 ++-- firmware/target/arm/mmu-armv6.S | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/target/arm/mmu-arm.S b/firmware/target/arm/mmu-arm.S index 9f90e1e..1bb5181 100644 --- a/firmware/target/arm/mmu-arm.S +++ b/firmware/target/arm/mmu-arm.S @@ -303,7 +303,7 @@ cpucache_flush: * will do writeback * void invalidate_dcache(void); */ - .section .text, "ax", %progbits + .section .icode, "ax", %progbits .align 2 .global invalidate_dcache .type invalidate_dcache, %function @@ -337,7 +337,7 @@ invalidate_dcache: * will do writeback * void invalidate_idcache(void); */ - .section .text, "ax", %progbits + .section .icode, "ax", %progbits .align 2 .global invalidate_idcache .type invalidate_idcache, %function diff --git a/firmware/target/arm/mmu-armv6.S b/firmware/target/arm/mmu-armv6.S index bb504f4..bb2d8a2 100644 --- a/firmware/target/arm/mmu-armv6.S +++ b/firmware/target/arm/mmu-armv6.S @@ -137,7 +137,7 @@ invalidate_dcache: * will do writeback * void invalidate_idcache(void); */ - .section .text, "ax", %progbits + .section .icode, "ax", %progbits .align 2 .global invalidate_idcache .type invalidate_idcache, %function -- cgit v1.1