X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=src%2Fthreads%2Finit.h;h=555804a4efddff75b72c5d2a89aaec880440317e;hb=e5b8483ba96df26aa42ccee127cb9a1d50e67f47;hp=1d6c5c6fdd2d88bdaf765e672f8924687d42f32a;hpb=e4b11e55cce16307ffae87d90c08bacb1a2f3c66;p=pintos-anon diff --git a/src/threads/init.h b/src/threads/init.h index 1d6c5c6..555804a 100644 --- a/src/threads/init.h +++ b/src/threads/init.h @@ -1,11 +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; -struct tss *tss; +/* Page directory with kernel mappings only. */ +extern uint32_t *base_page_dir; -#endif /* init.h */ +void power_off (void) NO_RETURN; + +#endif /* threads/init.h */