2019-02-11 09:47:28 -06:00
|
|
|
#ifndef CPU_TASKING_H
|
|
|
|
#define CPU_TASKING_H
|
2019-02-25 15:42:23 -06:00
|
|
|
|
2019-02-11 09:30:28 -06:00
|
|
|
#include "i386/tasking.h"
|
|
|
|
|
|
|
|
void tasking_init();
|
2019-02-11 09:47:28 -06:00
|
|
|
void tasking_yield();
|
|
|
|
Task* tasking_createTask(void* eip);
|
2019-02-25 15:42:23 -06:00
|
|
|
char isPrivleged(uint32_t pid);
|
2019-05-04 10:40:00 -05:00
|
|
|
void tasking_send_msg(uint32_t pid,void* msg);
|
|
|
|
void* tasking_get_msg(uint32_t* sender);
|
2019-02-11 09:30:28 -06:00
|
|
|
#endif
|