mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
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:
parent
771b35b7be
commit
4b7a2ba276
3 changed files with 28 additions and 10 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue