summaryrefslogtreecommitdiffstats
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 @@
#endif
/* increase this every time the api struct changes */
-#define CODEC_API_VERSION 42
+#define CODEC_API_VERSION 43
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
new function which are "waiting" at the end of the function table) */
-#define CODEC_MIN_API_VERSION 42
+#define CODEC_MIN_API_VERSION 43
/* codec return codes */
enum 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;
#define GUARD_BUFSIZE (8*1024)
/* As defined in plugin.lds */
-#define CODEC_IRAM_ORIGIN 0x10010000
-#define CODEC_IRAM_SIZE 0x8000
+#define CODEC_IRAM_ORIGIN 0x1000c000
+#define CODEC_IRAM_SIZE 0xc000
extern bool audio_is_initialized;
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 @@
#endif
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 48
+#define PLUGIN_API_VERSION 49
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
new function which are "waiting" at the end of the function table) */
-#define PLUGIN_MIN_API_VERSION 48
+#define PLUGIN_MIN_API_VERSION 49
/* plugin return codes */
enum 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)
#ifdef ARCH_IRIVER
#define DRAMORIG 0x31000000
-#define IRAMORIG 0x10010000
-#define IRAMSIZE 0x8000
+#define IRAMORIG 0x1000c000
+#define IRAMSIZE 0xc000
#else
#define DRAMORIG 0x09000000 + STUBOFFSET
#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;
#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300)
#define DRAMORIG 0x31000000 + STUBOFFSET
#define IRAMORIG 0x10000000
-#define IRAMSIZE 0x10000
+#define IRAMSIZE 0xc000
#else
#define DRAMORIG 0x09000000 + STUBOFFSET
#define IRAMORIG 0x0f000000
@@ -197,7 +197,7 @@ SECTIONS
{
*(.stack)
stackbegin = .;
- . += 0x8000;
+ . += 0x2000;
stackend = .;
} > IRAM
#else