14 lines
269 B
C
14 lines
269 B
C
#ifndef TASKING_H
|
|
#define TASKING_H
|
|
|
|
#include <stdint.h>
|
|
|
|
void yield();
|
|
void createTask(void* task);
|
|
void createTaskCr3(void* task,void* cr3);
|
|
char isPrivleged(uint32_t pid);
|
|
void send_msg(uint32_t pid,void* msg,uint32_t size);
|
|
void* get_msg(uint32_t* sender);
|
|
|
|
#endif
|