diff options
Diffstat (limited to 'src/threads')
| -rw-r--r-- | src/threads/Make.vars | 2 | ||||
| -rw-r--r-- | src/threads/init.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/threads/Make.vars b/src/threads/Make.vars index dc45c2a..4c36b8f 100644 --- a/src/threads/Make.vars +++ b/src/threads/Make.vars @@ -1,6 +1,6 @@ # -*- makefile -*- -os.dsk: DEFINES = +os.dsk: DEFINES += KERNEL_SUBDIRS = threads devices lib lib/kernel $(TEST_SUBDIRS) TEST_SUBDIRS = tests/threads GRADING_FILE = $(SRCDIR)/tests/threads/Grading diff --git a/src/threads/init.c b/src/threads/init.c index 54cae24..16be95d 100644 --- a/src/threads/init.c +++ b/src/threads/init.c @@ -91,7 +91,9 @@ main (void) /* Initialize ourselves as a thread so we can use locks, then enable console locking. */ thread_init (); +#ifdef USERPROG process_init (); +#endif console_init (); /* Greet user. */ |
