os/kernel/cpu/tasking.h
2019-06-22 11:11:12 -05:00

15 lines
365 B
C

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