os/sysroot/usr/include/tasking.h

16 lines
394 B
C
Raw Normal View History

#ifndef TASKING_H
#define TASKING_H
2019-02-25 15:42:23 -06:00
#include <stdint.h>
void yield();
void yieldToPID(uint32_t pid);
void createTask(void* task);
2019-05-05 13:30:01 -05:00
void createTaskCr3(void* task,void* cr3);
2019-05-23 20:41:33 -05:00
void createTaskCr3Param(void* task,void* cr3,uint32_t param1,uint32_t param2);
2019-02-25 15:42:23 -06:00
char isPrivleged(uint32_t pid);
2019-05-04 10:58:52 -05:00
void send_msg(uint32_t pid,void* msg,uint32_t size);
2019-06-22 15:29:02 -05:00
void* get_msg(uint32_t* sender,uint32_t* size);
#endif