kern

annotate src/sched.h @ 55:88a6c4e192f9

Fixed most important task switching bugs. Now it seems that I can switch in and out of user space reliably.
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 15 Aug 2011 04:03:39 +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_ */