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
14
void
switch_to_thread_asm
(
Thread
* thread);
15
19
void
task_init
();
20
25
void
wait_for_unblocked_thread_asm
();
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
Thread
Definition:
tasking.h:45
task_init
void task_init()
free_kstack
void free_kstack(void *stack_ptr)
Definition:
tasking_helpers_c.c:83
setup_kstack
void setup_kstack(Thread *thread, void *param1, void *param2, char kmode, void *eip)
Definition:
tasking_helpers_c.c:59
wait_for_unblocked_thread_asm
void wait_for_unblocked_thread_asm()
switch_to_thread_asm
void switch_to_thread_asm(Thread *thread)
kernel
cpu
tasking_helpers.h
Generated by
1.9.1