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:
parent
bc3dbad158
commit
a317d74d8e
5 changed files with 10 additions and 10 deletions
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue