X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pintos-anon;a=blobdiff_plain;f=src%2Fthreads%2Finit.h;h=da6cc04c81dfbfeec3c5dd007029a4caa147fab7;hp=1d6c5c6fdd2d88bdaf765e672f8924687d42f32a;hb=94d17ee9287aec1c4c9ee37ca02615e8293a5f3a;hpb=e4b11e55cce16307ffae87d90c08bacb1a2f3c66 diff --git a/src/threads/init.h b/src/threads/init.h index 1d6c5c6..da6cc04 100644 --- a/src/threads/init.h +++ b/src/threads/init.h @@ -1,11 +1,15 @@ -#ifndef HEADER_INIT_H -#define HEADER_INIT_H 1 +#ifndef THREADS_INIT_H +#define THREADS_INIT_H +#include +#include #include +#include /* Physical memory size, in 4 kB pages. */ -size_t ram_pages; +extern size_t init_ram_pages; -struct tss *tss; +/* Page directory with kernel mappings only. */ +extern uint32_t *init_page_dir; -#endif /* init.h */ +#endif /* threads/init.h */