X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fthreads%2Finit.h;h=555804a4efddff75b72c5d2a89aaec880440317e;hb=98b92b40dcb0b3114fbb6a48f9a56bee3588b4a9;hp=8dfb6515e78c1075ad75f8a7365ab82537d42556;hpb=bf866bc97d077fa3757b4aceaa7a6b41e7298c73;p=pintos-anon diff --git a/src/threads/init.h b/src/threads/init.h index 8dfb651..555804a 100644 --- a/src/threads/init.h +++ b/src/threads/init.h @@ -1,16 +1,16 @@ -#ifndef HEADER_INIT_H -#define HEADER_INIT_H 1 +#ifndef THREADS_INIT_H +#define THREADS_INIT_H +#include #include +#include /* Physical memory size, in 4 kB pages. */ -size_t ram_pages; +extern size_t ram_pages; -/* Kernel command line. */ -extern int argc; -extern char *argv[]; +/* Page directory with kernel mappings only. */ +extern uint32_t *base_page_dir; -struct tss *tss; +void power_off (void) NO_RETURN; - -#endif /* init.h */ +#endif /* threads/init.h */