forked from Imagelibrary/rtems
2009-04-06 Michael Walle <michael@walle.cc>
* shared/start/start.S: Now calls boot_card.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2009-04-06 Michael Walle <michael@walle.cc>
|
||||||
|
|
||||||
|
* shared/start/start.S: Now calls boot_card.
|
||||||
|
|
||||||
2009-02-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2009-02-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* shared/clock/ckinit.c, shared/start/start.S, shared/timer/timer.c:
|
* shared/clock/ckinit.c, shared/start/start.S, shared/timer/timer.c:
|
||||||
|
|||||||
@@ -93,9 +93,9 @@ divide_by_zero_handler:
|
|||||||
nop
|
nop
|
||||||
interrupt_handler:
|
interrupt_handler:
|
||||||
.extern _ISR_Handler
|
.extern _ISR_Handler
|
||||||
bi _ISR_Handler
|
mvhi r0, hi(_ISR_Handler)
|
||||||
nop
|
ori r0, r0, lo(_ISR_Handler)
|
||||||
nop
|
b r0
|
||||||
nop
|
nop
|
||||||
nop
|
nop
|
||||||
nop
|
nop
|
||||||
@@ -111,7 +111,6 @@ system_call_handler:
|
|||||||
nop
|
nop
|
||||||
nop
|
nop
|
||||||
|
|
||||||
.text
|
|
||||||
crt0:
|
crt0:
|
||||||
/* Flush data cache */
|
/* Flush data cache */
|
||||||
addi r1, r0, 1
|
addi r1, r0, 1
|
||||||
@@ -146,7 +145,9 @@ crt0:
|
|||||||
mvi r1, 0
|
mvi r1, 0
|
||||||
mvi r2, 0
|
mvi r2, 0
|
||||||
mvi r3, 0
|
mvi r3, 0
|
||||||
calli boot_card
|
mvhi r7, hi(boot_card)
|
||||||
|
ori r7, r7, lo(boot_card)
|
||||||
|
call r7
|
||||||
# boot_card returns when RTEMS is shutdown
|
# boot_card returns when RTEMS is shutdown
|
||||||
#if ON_SIMULATOR
|
#if ON_SIMULATOR
|
||||||
#define SYS_exit 1
|
#define SYS_exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user