Swap names of power_off and do_power_off().
[pintos-anon] / src / threads / init.h
1 #ifndef THREADS_INIT_H
2 #define THREADS_INIT_H
3
4 #include <debug.h>
5 #include <stddef.h>
6 #include <stdint.h>
7
8 /* Physical memory size, in 4 kB pages. */
9 extern size_t ram_pages;
10
11 /* Page directory with kernel mappings only. */
12 extern uint32_t *base_page_dir;
13
14 void power_off (void) NO_RETURN;
15
16 #endif /* threads/init.h */