os/cpu/tasking.h
2019-05-04 10:40:00 -05:00

13 lines
279 B
C

#ifndef CPU_TASKING_H
#define CPU_TASKING_H
#include "i386/tasking.h"
void tasking_init();
void tasking_yield();
Task* tasking_createTask(void* eip);
char isPrivleged(uint32_t pid);
void tasking_send_msg(uint32_t pid,void* msg);
void* tasking_get_msg(uint32_t* sender);
#endif