kern

annotate src/sched.h @ 72:3941e82b07f2

- implemented syscalls: exit, waitpid, getppid - moved sys_whatever functions out of syscall.c into more reasonable files - putting all the definitions that must be synced with userland to include/kdef.h
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 15 Oct 2011 07:45:56 +0300
parents 88a6c4e192f9
children
rev   line source
nuclear@51 1 #ifndef SCHED_H_
nuclear@51 2 #define SCHED_H_
nuclear@51 3
nuclear@51 4 #include "proc.h"
nuclear@51 5
nuclear@51 6 void schedule(void);
nuclear@51 7
nuclear@55 8 void add_proc(int pid);
nuclear@72 9 void remove_proc(int pid);
nuclear@55 10
nuclear@55 11 void wait(void *wait_addr);
nuclear@55 12 void wakeup(void *wait_addr);
nuclear@51 13
nuclear@51 14 #endif /* SCHED_H_ */