M:Robe 500: Put the irq stack and fiq stack in iram. Reduce memory for fiq stack since it is currently unused.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22263 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Karl Kurbjun 2009-08-12 02:34:07 +00:00
parent 771b35b7be
commit 4b7a2ba276
3 changed files with 28 additions and 10 deletions

View file

@ -115,6 +115,20 @@ SECTIONS
. += 0x2000;
stackend = .;
} > IRAM
.irqstack (NOLOAD) :
{
*(.stack)
. += 0x400;
irq_stack = .;
} > IRAM
.fiqstack (NOLOAD) :
{
*(.stack)
. += 0x100;
fiq_stack = .;
} > IRAM
/* This overwrites the iram (in ram), so make sure that the iram is copied
* out in crt0.s before the bss section and the rest are used.

View file

@ -121,6 +121,20 @@ SECTIONS
stackend = .;
} > IRAM
.irqstack (NOLOAD) :
{
*(.stack)
. += 0x400;
irq_stack = .;
} > IRAM
.fiqstack (NOLOAD) :
{
*(.stack)
. += 0x100;
fiq_stack = .;
} > IRAM
.bss (NOLOAD) :
{
. = ADDR(.data) + SIZEOF(.data) + SIZEOF(.vectors) + SIZEOF(.iram);

View file

@ -163,13 +163,3 @@ UIE:
b UIE
#endif
/* Align stacks to cache line boundary */
.balign 16
/* 256 words of IRQ stack */
.space 256*4
irq_stack:
/* 256 words of FIQ stack */
.space 256*4
fiq_stack: