schedule the highest priority thread,overP1
[monosproject.git] / src / threads / init.h
bloba6fec055d0b66067fd590441b06c2d2a141492ea
1 #ifndef THREADS_INIT_H
2 #define THREADS_INIT_H
4 #include <debug.h>
5 #include <stdbool.h>
6 #include <stddef.h>
7 #include <stdint.h>
9 /* Physical memory size, in 4 kB pages. */
10 extern size_t ram_pages;
12 /* Page directory with kernel mappings only. */
13 extern uint32_t *base_page_dir;
15 /* -q: Power off when kernel tasks complete? */
16 extern bool power_off_when_done;
18 void power_off (void) NO_RETURN;
20 #endif /* threads/init.h */