kern

annotate src/sched.h @ 57:437360696883

I think we're done for now. two processes seem to be scheduled and switched just fine, fork seems to work (NO CoW YET!)
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 16 Aug 2011 03:26:53 +0300
parents b1e8c8251884
children 3941e82b07f2
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@55 9
nuclear@55 10 void wait(void *wait_addr);
nuclear@55 11 void wakeup(void *wait_addr);
nuclear@51 12
nuclear@51 13 #endif /* SCHED_H_ */