summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-09-01 20:57:33 +0000
committerJens Arnold <amiconn@rockbox.org>2005-09-01 20:57:33 +0000
commita317d74d8e9dcbb1335df78a60fd331c23a02e46 (patch)
treee254772b4a7ef03e044108d3b014d141a1c1dd4d
parentbc3dbad158cfcddc33cdc2848402c2295c333649 (diff)
downloadrockbox-a317d74d8e9dcbb1335df78a60fd331c23a02e46.tar.gz
rockbox-a317d74d8e9dcbb1335df78a60fd331c23a02e46.zip
Iriver: Changed the IRAM splitting between core and plugins to 48KB/48KB, and reduced the main thread stack to 8KB, same size as on archos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7447 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs.h4
-rw-r--r--apps/playback.c4
-rw-r--r--apps/plugin.h4
-rw-r--r--apps/plugins/plugin.lds4
-rw-r--r--firmware/app.lds4
5 files changed, 10 insertions, 10 deletions
diff --git a/apps/codecs.h b/apps/codecs.h
index fe309554db..517d68ba03 100644
--- a/apps/codecs.h
+++ b/apps/codecs.h
@@ -79,12 +79,12 @@
79#endif 79#endif
80 80
81/* increase this every time the api struct changes */ 81/* increase this every time the api struct changes */
82#define CODEC_API_VERSION 42 82#define CODEC_API_VERSION 43
83 83
84/* update this to latest version if a change to the api struct breaks 84/* update this to latest version if a change to the api struct breaks
85 backwards compatibility (and please take the opportunity to sort in any 85 backwards compatibility (and please take the opportunity to sort in any
86 new function which are "waiting" at the end of the function table) */ 86 new function which are "waiting" at the end of the function table) */
87#define CODEC_MIN_API_VERSION 42 87#define CODEC_MIN_API_VERSION 43
88 88
89/* codec return codes */ 89/* codec return codes */
90enum codec_status { 90enum codec_status {
diff --git a/apps/playback.c b/apps/playback.c
index a39761712c..6ad5e53a20 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -99,8 +99,8 @@ static volatile bool paused;
99#define GUARD_BUFSIZE (8*1024) 99#define GUARD_BUFSIZE (8*1024)
100 100
101/* As defined in plugin.lds */ 101/* As defined in plugin.lds */
102#define CODEC_IRAM_ORIGIN 0x10010000 102#define CODEC_IRAM_ORIGIN 0x1000c000
103#define CODEC_IRAM_SIZE 0x8000 103#define CODEC_IRAM_SIZE 0xc000
104 104
105extern bool audio_is_initialized; 105extern bool audio_is_initialized;
106 106
diff --git a/apps/plugin.h b/apps/plugin.h
index 839e87af64..2aa3e09475 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -88,12 +88,12 @@
88#endif 88#endif
89 89
90/* increase this every time the api struct changes */ 90/* increase this every time the api struct changes */
91#define PLUGIN_API_VERSION 48 91#define PLUGIN_API_VERSION 49
92 92
93/* update this to latest version if a change to the api struct breaks 93/* update this to latest version if a change to the api struct breaks
94 backwards compatibility (and please take the opportunity to sort in any 94 backwards compatibility (and please take the opportunity to sort in any
95 new function which are "waiting" at the end of the function table) */ 95 new function which are "waiting" at the end of the function table) */
96#define PLUGIN_MIN_API_VERSION 48 96#define PLUGIN_MIN_API_VERSION 49
97 97
98/* plugin return codes */ 98/* plugin return codes */
99enum plugin_status { 99enum plugin_status {
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index 8ac3410eeb..bf400cf2e5 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -20,8 +20,8 @@ OUTPUT_FORMAT(elf32-sh)
20 20
21#ifdef ARCH_IRIVER 21#ifdef ARCH_IRIVER
22#define DRAMORIG 0x31000000 22#define DRAMORIG 0x31000000
23#define IRAMORIG 0x10010000 23#define IRAMORIG 0x1000c000
24#define IRAMSIZE 0x8000 24#define IRAMSIZE 0xc000
25#else 25#else
26#define DRAMORIG 0x09000000 + STUBOFFSET 26#define DRAMORIG 0x09000000 + STUBOFFSET
27#endif 27#endif
diff --git a/firmware/app.lds b/firmware/app.lds
index 0c9fa8d834..86dafadbe1 100644
--- a/firmware/app.lds
+++ b/firmware/app.lds
@@ -116,7 +116,7 @@ _pluginbuf = 0;
116#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300) 116#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300)
117#define DRAMORIG 0x31000000 + STUBOFFSET 117#define DRAMORIG 0x31000000 + STUBOFFSET
118#define IRAMORIG 0x10000000 118#define IRAMORIG 0x10000000
119#define IRAMSIZE 0x10000 119#define IRAMSIZE 0xc000
120#else 120#else
121#define DRAMORIG 0x09000000 + STUBOFFSET 121#define DRAMORIG 0x09000000 + STUBOFFSET
122#define IRAMORIG 0x0f000000 122#define IRAMORIG 0x0f000000
@@ -197,7 +197,7 @@ SECTIONS
197 { 197 {
198 *(.stack) 198 *(.stack)
199 stackbegin = .; 199 stackbegin = .;
200 . += 0x8000; 200 . += 0x2000;
201 stackend = .; 201 stackend = .;
202 } > IRAM 202 } > IRAM
203#else 203#else