2009-02-26 Joel Sherrill <joel.sherrill@oarcorp.com>

* shared/clock/ckinit.c, shared/start/start.S, shared/timer/timer.c:
	Run better on simulator. Timer is probably not right yet but
This commit is contained in:
Joel Sherrill
2009-02-26 20:45:48 +00:00
parent be9f085602
commit 5d64375f71
4 changed files with 23 additions and 10 deletions

View File

@@ -13,6 +13,8 @@
* Micro-Research Finland Oy
*/
#include "bspopts.h"
.section .boot,"a",@progbits
.align 4
@@ -145,12 +147,14 @@ crt0:
mvi r2, 0
mvi r3, 0
calli boot_card
# boot_card returns when RTEMS is shutdown
#if ON_SIMULATOR
#define SYS_exit 1
mvi r8, SYS_exit
scall
#endif
.dead_end:
bi .dead_end
calli boot_card
# boot_card should never return
_stuck_in_start:
bi _stuck_in_start