forked from Imagelibrary/rtems
2010-05-07 Michael Walle <michael@walle.cc>
* shared/start/start.S: Add support for qemu-system-lm32 shutdown device.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2010-05-07 Michael Walle <michael@walle.cc>
|
||||||
|
|
||||||
|
* shared/start/start.S: Add support for qemu-system-lm32 shutdown
|
||||||
|
device.
|
||||||
|
|
||||||
2009-11-25 Michael Walle <michael@walle.cc>
|
2009-11-25 Michael Walle <michael@walle.cc>
|
||||||
|
|
||||||
* shared/gdbstub/lm32-stub.c: Fix wrong computation of negative branch
|
* shared/gdbstub/lm32-stub.c: Fix wrong computation of negative branch
|
||||||
|
|||||||
@@ -150,10 +150,16 @@ crt0:
|
|||||||
call r7
|
call r7
|
||||||
# boot_card returns when RTEMS is shutdown
|
# boot_card returns when RTEMS is shutdown
|
||||||
#if ON_SIMULATOR
|
#if ON_SIMULATOR
|
||||||
|
#if defined(ON_GDB_SIM)
|
||||||
#define SYS_exit 1
|
#define SYS_exit 1
|
||||||
|
|
||||||
mvi r8, SYS_exit
|
mvi r8, SYS_exit
|
||||||
scall
|
scall
|
||||||
|
#else
|
||||||
|
# on qemu-lm32
|
||||||
|
mvhi r7, hi(SYS_CTRL_REG)
|
||||||
|
ori r7, r7, lo(SYS_CTRL_REG)
|
||||||
|
sw (r7+0), r0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
.dead_end:
|
.dead_end:
|
||||||
|
|||||||
Reference in New Issue
Block a user