version 1.4, 2007/11/19 10:39:28 |
version 1.5, 2007/11/20 16:12:11 |
|
|
#include <sys/kern_devconfig.h> |
#include <sys/kern_devconfig.h> |
#include <sys/mem.h> |
#include <sys/mem.h> |
#include <sys/kern_time.h> |
#include <sys/kern_time.h> |
|
#include <sys/kern_sched.h> |
|
|
#include <libkern/printf.h> |
#include <libkern/printf.h> |
|
|
|
|
/* attach all devices described in arch/${ARCH}/config.c */ |
/* attach all devices described in arch/${ARCH}/config.c */ |
devconfig_recurse(); |
devconfig_recurse(); |
|
|
/* initialise system clock; this will start interrupts from timer */ |
/* initialize scheduler before enabling system ticks */ |
// sysclock_init(); |
sched_init(); |
|
|
|
/* initialize system clock; this will start interrupts from timer */ |
|
sysclock_init(); |
|
|
while(1) |
while(1) |
; |
; |