#include <kern/proc.h>
#include <kern/irq.h>
+#include <kern/monitor.h>
+
#include <drv/timer.h>
#include <cfg/test.h>
}
}
-static cpustack_t proc_test1_stack[CONFIG_KERN_MINSTACKSIZE / sizeof(cpustack_t)];
-static cpustack_t proc_test2_stack[CONFIG_KERN_MINSTACKSIZE / sizeof(cpustack_t)];
+static cpu_stack_t proc_test1_stack[CONFIG_KERN_MINSTACKSIZE / sizeof(cpu_stack_t)];
+static cpu_stack_t proc_test2_stack[CONFIG_KERN_MINSTACKSIZE / sizeof(cpu_stack_t)];
/**
{
kputs("> main\n");
timer_delay(93);
+ monitor_report();
proc_yield();
}
return 0;
}
-#if (ARCH & ARCH_UNITTEST)
+#if UNIT_TEST
int proc_testSetup(void)
{