1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Jens Arnold 2005-09-01 20:57:33 +00:00
parent bc3dbad158
commit a317d74d8e
5 changed files with 10 additions and 10 deletions

View file

@ -79,12 +79,12 @@
#endif #endif
/* increase this every time the api struct changes */ /* 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 /* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any backwards compatibility (and please take the opportunity to sort in any
new function which are "waiting" at the end of the function table) */ 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 */ /* codec return codes */
enum codec_status { enum codec_status {

View file

@ -99,8 +99,8 @@ static volatile bool paused;
#define GUARD_BUFSIZE (8*1024) #define GUARD_BUFSIZE (8*1024)
/* As defined in plugin.lds */ /* As defined in plugin.lds */
#define CODEC_IRAM_ORIGIN 0x10010000 #define CODEC_IRAM_ORIGIN 0x1000c000
#define CODEC_IRAM_SIZE 0x8000 #define CODEC_IRAM_SIZE 0xc000
extern bool audio_is_initialized; extern bool audio_is_initialized;

View file

@ -88,12 +88,12 @@
#endif #endif
/* increase this every time the api struct changes */ /* 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 /* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any backwards compatibility (and please take the opportunity to sort in any
new function which are "waiting" at the end of the function table) */ 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 */ /* plugin return codes */
enum plugin_status { enum plugin_status {

View file

@ -20,8 +20,8 @@ OUTPUT_FORMAT(elf32-sh)
#ifdef ARCH_IRIVER #ifdef ARCH_IRIVER
#define DRAMORIG 0x31000000 #define DRAMORIG 0x31000000
#define IRAMORIG 0x10010000 #define IRAMORIG 0x1000c000
#define IRAMSIZE 0x8000 #define IRAMSIZE 0xc000
#else #else
#define DRAMORIG 0x09000000 + STUBOFFSET #define DRAMORIG 0x09000000 + STUBOFFSET
#endif #endif

View file

@ -116,7 +116,7 @@ _pluginbuf = 0;
#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300) #if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300)
#define DRAMORIG 0x31000000 + STUBOFFSET #define DRAMORIG 0x31000000 + STUBOFFSET
#define IRAMORIG 0x10000000 #define IRAMORIG 0x10000000
#define IRAMSIZE 0x10000 #define IRAMSIZE 0xc000
#else #else
#define DRAMORIG 0x09000000 + STUBOFFSET #define DRAMORIG 0x09000000 + STUBOFFSET
#define IRAMORIG 0x0f000000 #define IRAMORIG 0x0f000000
@ -197,7 +197,7 @@ SECTIONS
{ {
*(.stack) *(.stack)
stackbegin = .; stackbegin = .;
. += 0x8000; . += 0x2000;
stackend = .; stackend = .;
} > IRAM } > IRAM
#else #else