projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed left-over, now-wrong comment about how decrease in numeric priority means incre...
[pintos-anon]
/
src
/
threads
/
thread.c
diff --git
a/src/threads/thread.c
b/src/threads/thread.c
index 16b8c8b692e8664b81bab789eb3eeb946e38f3b7..8d9f33558bb5313b1e137250479b5103a88db689 100644
(file)
--- a/
src/threads/thread.c
+++ b/
src/threads/thread.c
@@
-7,10
+7,10
@@
#include "threads/flags.h"
#include "threads/interrupt.h"
#include "threads/intr-stubs.h"
#include "threads/flags.h"
#include "threads/interrupt.h"
#include "threads/intr-stubs.h"
-#include "threads/mmu.h"
#include "threads/palloc.h"
#include "threads/switch.h"
#include "threads/synch.h"
#include "threads/palloc.h"
#include "threads/switch.h"
#include "threads/synch.h"
+#include "threads/vaddr.h"
#ifdef USERPROG
#include "userprog/process.h"
#endif
#ifdef USERPROG
#include "userprog/process.h"
#endif
@@
-92,7
+92,7
@@
thread_init (void)
void
thread_start (void)
{
void
thread_start (void)
{
- thread_create ("idle", PRI_M
AX
, idle, NULL);
+ thread_create ("idle", PRI_M
IN
, idle, NULL);
intr_enable ();
}
intr_enable ();
}