summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-07-17 14:53:44 +0000
committerNils Wallménius <nils@rockbox.org>2007-07-17 14:53:44 +0000
commit4102ed56f08a2322e8db53655538724863163171 (patch)
tree9791636175271e3f2e4cdea1101c3b0fc9e9d9b5
parentfb102bab70c92ba9f2a2b88438164b704547601c (diff)
downloadrockbox-4102ed56f08a2322e8db53655538724863163171.tar.gz
rockbox-4102ed56f08a2322e8db53655538724863163171.zip
Revert cosmetic change and staticing of the rolo_restart() function, because it would break rolo for gigabeat if anyone ever implemented it (because ICODE_ATTR is defined to be null for gigabeats).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13924 a1c6a512-1295-4272-9138-f99709370657
-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;