projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use __attribute__ directly.
[pintos-anon]
/
src
/
threads
/
init.h
diff --git
a/src/threads/init.h
b/src/threads/init.h
index 2c73fd96179f1c640c2f09c166c537b1ecfd7673..1d6c5c6fdd2d88bdaf765e672f8924687d42f32a 100644
(file)
--- a/
src/threads/init.h
+++ b/
src/threads/init.h
@@
-3,9
+3,9
@@
#include <stddef.h>
-struct tss *tss;
+/* Physical memory size, in 4 kB pages. */
+size_t ram_pages;
-extern size_t kernel_pages;
-extern size_t ram_pages;
+struct tss *tss;
#endif /* init.h */