projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename addrspace to process.
[pintos-anon]
/
src
/
threads
/
init.c
diff --git
a/src/threads/init.c
b/src/threads/init.c
index 155ccae6adf1f2b50d2450bb6739a6b183c28498..0d9c69984603eaaa6a69bf4fac58c4af9e54ce54 100644
(file)
--- a/
src/threads/init.c
+++ b/
src/threads/init.c
@@
-21,6
+21,7
@@
#include "threads/test.h"
#include "threads/thread.h"
#ifdef USERPROG
#include "threads/test.h"
#include "threads/thread.h"
#ifdef USERPROG
+#include "userprog/process.h"
#include "userprog/exception.h"
#include "userprog/gdt.h"
#include "userprog/syscall.h"
#include "userprog/exception.h"
#include "userprog/gdt.h"
#include "userprog/syscall.h"
@@
-112,7
+113,7
@@
main (void)
if (initial_program != NULL)
{
printf ("\nExecuting '%s':\n", initial_program);
if (initial_program != NULL)
{
printf ("\nExecuting '%s':\n", initial_program);
-
thread
_execute (initial_program);
+
process
_execute (initial_program);
}
#else
test ();
}
#else
test ();