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
37
#endif
switch_to_thread_asm
void switch_to_thread_asm(Thread *thread)
setup_kstack
void setup_kstack(Thread *thread, void *param1, void *param2, char kmode, void *eip)
Definition:
tasking_helpers_c.c:56
wait_for_unblocked_thread_asm
void wait_for_unblocked_thread_asm()
task_init
void task_init()
Thread
Definition:
tasking.h:42
kernel
cpu
tasking_helpers.h
Generated by
1.8.18