merged in all changes done to the trunk up to Aug 28
[pintos-anon] / src / threads / init.h
1 #ifndef THREADS_INIT_H
2 #define THREADS_INIT_H
3
4 #include <debug.h>
5 #include <stdbool.h>
6 #include <stddef.h>
7 #include <stdint.h>
8
9 /* Page directory with kernel mappings only. */
10 extern uint32_t *base_page_dir;
11
12 /* -q: Power off when kernel tasks complete? */
13 extern bool power_off_when_done;
14
15 void power_off (void) NO_RETURN;
16 void reboot (void);
17
18 #endif /* threads/init.h */