projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement a proper block layer with partition support.
[pintos-anon]
/
src
/
threads
/
init.h
diff --git
a/src/threads/init.h
b/src/threads/init.h
index 8dfb6515e78c1075ad75f8a7365ab82537d42556..8a3df903481dacab972dbe1a8a31b49a2f04f739 100644
(file)
--- a/
src/threads/init.h
+++ b/
src/threads/init.h
@@
-1,16
+1,12
@@
-#ifndef
HEADER
_INIT_H
-#define
HEADER_INIT_H 1
+#ifndef
THREADS
_INIT_H
+#define
THREADS_INIT_H
+#include <debug.h>
+#include <stdbool.h>
#include <stddef.h>
#include <stddef.h>
+#include <stdint.h>
-/* P
hysical memory size, in 4 kB pages
. */
-
size_t ram_pages
;
+/* P
age directory with kernel mappings only
. */
+
extern uint32_t *init_page_dir
;
-/* Kernel command line. */
-extern int argc;
-extern char *argv[];
-
-struct tss *tss;
-
-
-#endif /* init.h */
+#endif /* threads/init.h */