MyOS Kernel
tasking_helpers.h
Go to the documentation of this file.
1 
5 #ifndef TASKING_HELPERS_H
6 #define TASKING_HELPERS_H
7 
8 #include "../tasking.h"
9 
15 
19 void task_init();
20 
26 
35 void setup_kstack(Thread* thread,void* param1,void* param2,char kmode,void* eip);
36 
41 void free_kstack(void* stack_ptr);
42 
43 #endif
Definition: tasking.h:45
void task_init()
void free_kstack(void *stack_ptr)
Definition: tasking_helpers_c.c:83
void setup_kstack(Thread *thread, void *param1, void *param2, char kmode, void *eip)
Definition: tasking_helpers_c.c:59
void wait_for_unblocked_thread_asm()
void switch_to_thread_asm(Thread *thread)