X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fproc_test.c;h=e06e984f660aef3581416d1c60758e47d75fefe9;hb=d5642a0041cbc6b737a26d817b128073c0ef6202;hp=32fde7e0e26ea8e2c7291ae0411ad381d47677ab;hpb=c3a1182633d33dc083da6af30fa5e89018d7130a;p=bertos.git diff --git a/bertos/kern/proc_test.c b/bertos/kern/proc_test.c index 32fde7e0..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_PROC_DEFSTACKSIZE / sizeof(cpustack_t)]; -static cpustack_t proc_test2_stack[CONFIG_PROC_DEFSTACKSIZE / 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) {