#include <kern/proc.h>
#include <kern/irq.h>
+#include <kern/monitor.h>
+
#include <drv/timer.h>
#include <cfg/test.h>
{
kputs("> main\n");
timer_delay(93);
+ monitor_report();
proc_yield();
}
return 0;
}
-#if UNIT_TEST
int proc_testSetup(void)
{
return 0;
}
-#include <drv/kdebug.c>
-#include <drv/timer.c>
-#include <kern/idle.c>
-#include <kern/monitor.c>
-#include <kern/signal.c>
-#if CONFIG_KERN_PREEMPT
- #include <kern/preempt.c>
- #include <kern/irq.c>
-#else
- #include <kern/coop.c>
- // FIXME: we need to link with the switch asm code too!
-#endif
-#include <kern/proc.c>
-#include <mware/formatwr.c>
-#include <mware/hex.c>
-#include <mware/event.c>
-#include <os/hptime.c>
-
TEST_MAIN(proc);
-
-#endif // _TEST