summaryrefslogtreecommitdiff
path: root/apps
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 /apps
parentbc3dbad158cfcddc33cdc2848402c2295c333649 (diff)
downloadrockbox-a317d74d8e9dcbb1335df78a60fd331c23a02e46.zip
rockbox-a317d74d8e9dcbb1335df78a60fd331c23a02e46.tar.gz
rockbox-a317d74d8e9dcbb1335df78a60fd331c23a02e46.tar.bz2
rockbox-a317d74d8e9dcbb1335df78a60fd331c23a02e46.tar.xz
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
Diffstat (limited to 'apps')
-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
4 files changed, 8 insertions, 8 deletions
diff --git a/apps/codecs.h b/apps/codecs.h
index fe30955..517d68b 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 a397617..6ad5e53 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 839e87a..2aa3e09 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 8ac3410..bf400cf 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