1
0
Fork 0
forked from len0rd/rockbox

Iriver iFP7xx memory layout adjustment.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10553 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Tomasz Malesinski 2006-08-12 22:43:44 +00:00
parent 4e5f4ee5e0
commit 4e36352567
4 changed files with 7 additions and 6 deletions

View file

@ -38,8 +38,8 @@ OUTPUT_FORMAT(elf32-sh)
#define IRAMSIZE 0xc000 #define IRAMSIZE 0xc000
#elif CONFIG_CPU == PNX0101 #elif CONFIG_CPU == PNX0101
#define DRAMORIG 0xc00000 + STUBOFFSET #define DRAMORIG 0xc00000 + STUBOFFSET
#define IRAMORIG 0x408000 #define IRAMORIG 0x407000
#define IRAMSIZE 0x8000 #define IRAMSIZE 0x9000
#else #else
#define DRAMORIG 0x09000000 + STUBOFFSET #define DRAMORIG 0x09000000 + STUBOFFSET
#endif #endif

View file

@ -133,7 +133,7 @@ _pluginbuf = 0;
#elif CONFIG_CPU==PNX0101 #elif CONFIG_CPU==PNX0101
#define DRAMORIG 0xc00000 + STUBOFFSET #define DRAMORIG 0xc00000 + STUBOFFSET
#define IRAMORIG 0x400000 #define IRAMORIG 0x400000
#define IRAMSIZE 0x8000 #define IRAMSIZE 0x7000
#elif CONFIG_CPU==S3C2440 #elif CONFIG_CPU==S3C2440
#define DRAMORIG 0x30000000 + STUBOFFSET #define DRAMORIG 0x30000000 + STUBOFFSET
#define IRAMORIG 0x40000000 #define IRAMORIG 0x40000000

View file

@ -33,10 +33,10 @@
#define HAVE_SW_POWEROFF #define HAVE_SW_POWEROFF
/* The number of bytes reserved for loadable codecs */ /* The number of bytes reserved for loadable codecs */
#define CODEC_SIZE 0x30000 #define CODEC_SIZE 0x20000
/* The number of bytes reserved for loadable plugins */ /* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x20000 #define PLUGIN_BUFFER_SIZE 0x10000
/* Define this if you have the WM8975 audio codec */ /* Define this if you have the WM8975 audio codec */
/* #define HAVE_WM8975 */ /* #define HAVE_WM8975 */

View file

@ -247,7 +247,8 @@
defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \ defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \
(CONFIG_CPU == PP5020) || /* iPod and H10: core, plugins, codecs */ \ (CONFIG_CPU == PP5020) || /* iPod and H10: core, plugins, codecs */ \
(CONFIG_CPU == PP5002) || /* iPod: core, plugins, codecs */ \ (CONFIG_CPU == PP5002) || /* iPod: core, plugins, codecs */ \
(CONFIG_CPU == TCC730)) /* CalmRISC16: core, (plugins, codecs) */ (CONFIG_CPU == TCC730) || /* CalmRISC16: core, (plugins, codecs) */ \
(CONFIG_CPU == PNX0101))
#define ICODE_ATTR __attribute__ ((section(".icode"))) #define ICODE_ATTR __attribute__ ((section(".icode")))
#define ICONST_ATTR __attribute__ ((section(".irodata"))) #define ICONST_ATTR __attribute__ ((section(".irodata")))
#define IDATA_ATTR __attribute__ ((section(".idata"))) #define IDATA_ATTR __attribute__ ((section(".idata")))