From a317d74d8e9dcbb1335df78a60fd331c23a02e46 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Thu, 1 Sep 2005 20:57:33 +0000 Subject: 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 --- apps/codecs.h | 4 ++-- apps/playback.c | 4 ++-- apps/plugin.h | 4 ++-- apps/plugins/plugin.lds | 4 ++-- firmware/app.lds | 4 ++-- 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 -- cgit v1.2.3