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
24
void
task_init_no_int
();
25
30
void
wait_for_unblocked_thread_asm
();
31
41
void
setup_kstack
(
Thread
* thread,
void
* param1,
void
* param2,
char
kmode,
void
* eip,
char
is_irq_handler);
42
47
void
free_kstack
(
void
* stack_ptr);
48
49
#endif
Thread
Definition:
tasking.h:45
task_init
void task_init()
free_kstack
void free_kstack(void *stack_ptr)
Definition:
tasking_helpers_c.c:87
task_init_no_int
void task_init_no_int()
wait_for_unblocked_thread_asm
void wait_for_unblocked_thread_asm()
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, char is_irq_handler)
Definition:
tasking_helpers_c.c:59
kernel
cpu
tasking_helpers.h
Generated by
1.9.1