summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/rolo.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c
index 427c8a2102..7ff5195318 100644
--- a/firmware/rolo.c
+++ b/firmware/rolo.c
@@ -98,10 +98,13 @@ extern unsigned short descramble(const unsigned char* source,
98extern void rolo_restart(const unsigned char* source, unsigned char* dest, 98extern void rolo_restart(const unsigned char* source, unsigned char* dest,
99 int length); 99 int length);
100#else 100#else
101STATICIRAM void rolo_restart(const unsigned char* source, unsigned char* dest, 101
102 long length) ICODE_ATTR; 102/* explicitly put this code in iram, ICODE_ATTR is defined to be null for some
103STATICIRAM void rolo_restart(const unsigned char* source, unsigned char* dest, 103 targets that are low on iram, like the gigabeat F/X */
104 long length) 104void rolo_restart(const unsigned char* source, unsigned char* dest,
105 long length) __attribute__ ((section(".icode")));
106void rolo_restart(const unsigned char* source, unsigned char* dest,
107 long length)
105{ 108{
106 long i; 109 long i;
107 unsigned char* localdest = dest; 110 unsigned char* localdest = dest;