00001 #ifndef THREADS_INIT_H 00002 //3110889226 00003 #define THREADS_INIT_H 00004 00005 #include <debug.h> 00006 #include <stdbool.h> 00007 #include <stddef.h> 00008 #include <stdint.h> 00009 00010 /* Page directory with kernel mappings only. */ 00011 extern uint32_t *base_page_dir; 00012 00013 /* -q: Power off when kernel tasks complete? */ 00014 extern bool power_off_when_done; 00015 00016 void power_off (void) NO_RETURN; 00017 void reboot (void); 00018 00019 #endif /* threads/init.h */