This commit is contained in:
@@ -27,10 +27,6 @@ SECTIONS
|
|||||||
objs/bas_string.o(.text)
|
objs/bas_string.o(.text)
|
||||||
objs/printf_helper.o(.text)
|
objs/printf_helper.o(.text)
|
||||||
objs/cache.o(.text)
|
objs/cache.o(.text)
|
||||||
objs/mmu.o(.text)
|
|
||||||
objs/supervisor.o(.text)
|
|
||||||
objs/illegal_instruction.o(.text)
|
|
||||||
objs/exceptions.o(.text)
|
|
||||||
objs/dma.o(.text)
|
objs/dma.o(.text)
|
||||||
mcdapi/MCD_dmaApi.o(.text)
|
mcdapi/MCD_dmaApi.o(.text)
|
||||||
mcdapi/MCD_tasks.o(.text)
|
mcdapi/MCD_tasks.o(.text)
|
||||||
@@ -52,9 +48,14 @@ SECTIONS
|
|||||||
*/
|
*/
|
||||||
AT (ALIGN(ADDR(.text) + SIZEOF(.text), 4))
|
AT (ALIGN(ADDR(.text) + SIZEOF(.text), 4))
|
||||||
{
|
{
|
||||||
|
. = ALIGN(16);
|
||||||
|
objs/exceptions.o(.text)
|
||||||
|
objs/illegal_instruction.o(.text)
|
||||||
|
objs/supervisor.o(.text)
|
||||||
|
objs/mmu.o(.text)
|
||||||
|
. = ALIGN(16);
|
||||||
__BAS_DATA_START = .;
|
__BAS_DATA_START = .;
|
||||||
*(.data)
|
*(.data)
|
||||||
. = ALIGN(16);
|
|
||||||
__BAS_DATA_END = .;
|
__BAS_DATA_END = .;
|
||||||
*(.bss)
|
*(.bss)
|
||||||
|
|
||||||
|
|||||||
@@ -367,7 +367,7 @@ std_exc_vec:
|
|||||||
|
|
||||||
move.w 8(sp),d0 // fetch vector
|
move.w 8(sp),d0 // fetch vector
|
||||||
and.l #0x3fc,d0 // mask out vector number
|
and.l #0x3fc,d0 // mask out vector number
|
||||||
add.l _rt_vbr,d0 // + OS VBR
|
add.l _rt_vbr,d0 // + VBR
|
||||||
move.l d0,a5
|
move.l d0,a5
|
||||||
move.l (a5),d0 // fetch exception routine address
|
move.l (a5),d0 // fetch exception routine address
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user