kern

view 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
line source
1 #ifndef SCHED_H_
2 #define SCHED_H_
4 #include "proc.h"
6 void schedule(void);
8 void add_proc(int pid);
10 void wait(void *wait_addr);
11 void wakeup(void *wait_addr);
13 #endif /* SCHED_H_ */