mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-06-21 03:54:18 -05:00
placed stack in dtcm
moved arm9 base to 0x02000000
This commit is contained in:
parent
13870159fb
commit
fbaaf97f74
|
|
@ -6,7 +6,7 @@ MEMORY {
|
|||
|
||||
rom : ORIGIN = 0x08000000, LENGTH = 32M
|
||||
iwram : ORIGIN = 0x037f8000, LENGTH = 32K
|
||||
ewram : ORIGIN = 0x02004000, LENGTH = 4M -32k
|
||||
ewram : ORIGIN = 0x02000000, LENGTH = 4M - 4k
|
||||
dtcm : ORIGIN = 0x00800000, LENGTH = 16K
|
||||
itcm : ORIGIN = 0x01000000, LENGTH = 32K
|
||||
}
|
||||
|
|
@ -15,11 +15,11 @@ __itcm_start = 0x01000000;
|
|||
__iwram_start = 0x037f8000;
|
||||
__iwram_end = 0x03800000;
|
||||
__ewram_end = 0x02400000;
|
||||
__eheap_end = 0x02400000;
|
||||
__eheap_end = 0x023ff000;
|
||||
__dtcm_start = 0x00800000;
|
||||
__dtcm_end = 0x00804000;
|
||||
|
||||
__sp_svc = __iwram_end - 0x100;
|
||||
__sp_svc = __dtcm_end - 0x100;
|
||||
__sp_irq = __sp_svc - 0x100;
|
||||
__sp_usr = __sp_irq - 0x100;
|
||||
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ _start:
|
|||
mcr p15, 0, r0, c6, c6, 0
|
||||
|
||||
@-------------------------------------------------------------------------
|
||||
@ Region 7
|
||||
@ Region 7 - IPC
|
||||
@-------------------------------------------------------------------------
|
||||
ldr r0,=( PAGE_4K | 0x027FF000 | 1)
|
||||
mcr p15, 0, r0, c6, c7, 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user