6 * Proc scheduling test subthread 1
8 static void NORETURN proc_test_thread1(void)
19 * Proc scheduling test subthread 2
21 static void NORETURN proc_test_thread2(void)
31 static cpustack_t proc_test_stack1[CONFIG_KERN_DEFSTACKSIZE/sizeof(cpustack_t)];
32 static cpustack_t proc_test_stack2[CONFIG_KERN_DEFSTACKSIZE/sizeof(cpustack_t)];
35 * Proc scheduling test
37 void NORETURN proc_test(void)
39 proc_new(proc_test_thread1, NULL, sizeof(proc_test_stack1), proc_test_stack1);
40 proc_new(proc_test_thread2, NULL, sizeof(proc_test_stack2), proc_test_stack2);
41 kputs("Created tasks\n");
45 kdump(proc_test_stack1+sizeof(proc_test_stack1)-64, 64);
48 kdump(proc_test_stack2+sizeof(proc_test_stack1)-64, 64);
52 kputs(">main task\n");