projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
36b41877d24fc1c9ac133b217e826b677a851c22
[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 */