projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove lots of unused #define's from mmu.h.
[pintos-anon]
/
src
/
threads
/
thread.c
diff --git
a/src/threads/thread.c
b/src/threads/thread.c
index 4b848038a0b9ac03c6a23a72a98a62178b88edb2..13b0b7e7f37367db09e5b8f30f0bda6b0ae57488 100644
(file)
--- a/
src/threads/thread.c
+++ b/
src/threads/thread.c
@@
-135,7
+135,7
@@
thread_execute (const char *filename)
if_->ds = SEL_UDSEG;
if_->eip = start;
if_->cs = SEL_UCSEG;
if_->ds = SEL_UDSEG;
if_->eip = start;
if_->cs = SEL_UCSEG;
- if_->eflags = FLAG_IF |
2
;
+ if_->eflags = FLAG_IF |
FLAG_MBS
;
if_->esp = PHYS_BASE;
if_->ss = SEL_UDSEG;
if_->esp = PHYS_BASE;
if_->ss = SEL_UDSEG;