mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Correct IRAM size for the iAudio X5 app
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9159 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1b383a9745
commit
7664a4f7e0
2 changed files with 8 additions and 4 deletions
|
@ -28,6 +28,10 @@ OUTPUT_FORMAT(elf32-sh)
|
||||||
#define DRAMORIG 0x31000000
|
#define DRAMORIG 0x31000000
|
||||||
#define IRAMORIG 0x1000c000
|
#define IRAMORIG 0x1000c000
|
||||||
#define IRAMSIZE 0xc000
|
#define IRAMSIZE 0xc000
|
||||||
|
#elif defined(IAUDIO_X5)
|
||||||
|
#define DRAMORIG 0x31000000
|
||||||
|
#define IRAMORIG 0x1000c000
|
||||||
|
#define IRAMSIZE 0xc000
|
||||||
#elif defined(ARCH_IPOD)
|
#elif defined(ARCH_IPOD)
|
||||||
#define DRAMORIG 0x00000000
|
#define DRAMORIG 0x00000000
|
||||||
#define IRAMORIG 0x4000c000
|
#define IRAMORIG 0x4000c000
|
||||||
|
@ -57,7 +61,7 @@ OUTPUT_FORMAT(elf32-sh)
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
PLUGIN_RAM : ORIGIN = THIS_ORIGIN, LENGTH = THIS_LENGTH
|
PLUGIN_RAM : ORIGIN = THIS_ORIGIN, LENGTH = THIS_LENGTH
|
||||||
#if defined(ARCH_IRIVER) || defined(ARCH_IPOD) || (CONFIG_CPU==PNX0101)
|
#if defined(IRAMSIZE)
|
||||||
PLUGIN_IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
|
PLUGIN_IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -88,7 +92,7 @@ SECTIONS
|
||||||
.data :
|
.data :
|
||||||
{
|
{
|
||||||
*(.data*)
|
*(.data*)
|
||||||
#if defined(ARCH_IRIVER) || defined(ARCH_IPOD) || (CONFIG_CPU==PNX0101)
|
#if defined(IRAMSIZE)
|
||||||
iramcopy = .;
|
iramcopy = .;
|
||||||
#endif
|
#endif
|
||||||
} > PLUGIN_RAM
|
} > PLUGIN_RAM
|
||||||
|
@ -98,7 +102,7 @@ SECTIONS
|
||||||
*(.eh_frame)
|
*(.eh_frame)
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(ARCH_IRIVER) || defined(ARCH_IPOD) || (CONFIG_CPU==PNX0101)
|
#if defined(IRAMSIZE)
|
||||||
.iram IRAMORIG : AT ( iramcopy)
|
.iram IRAMORIG : AT ( iramcopy)
|
||||||
{
|
{
|
||||||
iramstart = .;
|
iramstart = .;
|
||||||
|
|
|
@ -125,7 +125,7 @@ _pluginbuf = 0;
|
||||||
#elif defined(IAUDIO_X5)
|
#elif defined(IAUDIO_X5)
|
||||||
#define DRAMORIG 0x31000000 + STUBOFFSET
|
#define DRAMORIG 0x31000000 + STUBOFFSET
|
||||||
#define IRAMORIG 0x10000000
|
#define IRAMORIG 0x10000000
|
||||||
#define IRAMSIZE 0x20000
|
#define IRAMSIZE 0xc000
|
||||||
#elif (CONFIG_CPU==PP5002) || (CONFIG_CPU==PP5020)
|
#elif (CONFIG_CPU==PP5002) || (CONFIG_CPU==PP5020)
|
||||||
#define DRAMORIG 0x00000000 + STUBOFFSET
|
#define DRAMORIG 0x00000000 + STUBOFFSET
|
||||||
#define IRAMORIG 0x40000000
|
#define IRAMORIG 0x40000000
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue