X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fproc_test.c;h=e06e984f660aef3581416d1c60758e47d75fefe9;hb=d5642a0041cbc6b737a26d817b128073c0ef6202;hp=414f2115f5213dc28dd49577ea0798f4e2c8a983;hpb=0eeba5822b3ff0e76ae0fd0272536d371d272d7d;p=bertos.git diff --git a/bertos/kern/proc_test.c b/bertos/kern/proc_test.c index 414f2115..e06e984f 100644 --- a/bertos/kern/proc_test.c +++ b/bertos/kern/proc_test.c @@ -38,6 +38,8 @@ #include #include +#include + #include #include @@ -66,8 +68,8 @@ static void proc_test2(void) } } -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)]; /** @@ -83,12 +85,13 @@ int proc_testRun(void) { kputs("> main\n"); timer_delay(93); + monitor_report(); proc_yield(); } return 0; } -#ifdef _TEST +#if UNIT_TEST int proc_testSetup(void) {