projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename putchar_unlocked() to putchar_have_lock() to avoid GCC warning.
[pintos-anon]
/
src
/
threads
/
init.h
diff --git
a/src/threads/init.h
b/src/threads/init.h
index a6fec055d0b66067fd590441b06c2d2a141492ea..4455c212d04dec6d07ea201862c07d83cebcb4a0 100644
(file)
--- a/
src/threads/init.h
+++ b/
src/threads/init.h
@@
-12,6
+12,11
@@
extern size_t ram_pages;
/* Page directory with kernel mappings only. */
extern uint32_t *base_page_dir;
/* Page directory with kernel mappings only. */
extern uint32_t *base_page_dir;
+/* -o mlfqs:
+ If false (default), use round-robin scheduler.
+ If true, use multi-level feedback queue scheduler. */
+extern bool enable_mlfqs;
+
/* -q: Power off when kernel tasks complete? */
extern bool power_off_when_done;
/* -q: Power off when kernel tasks complete? */
extern bool power_off_when_done;