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 1025172727e1682bc0a350c9dc52630986fa621f..0d9c69984603eaaa6a69bf4fac58c4af9e54ce54 100644
(file)
--- a/
src/threads/init.c
+++ b/
src/threads/init.c
@@
-21,7
+21,7
@@
#include "threads/test.h"
#include "threads/thread.h"
#ifdef USERPROG
#include "threads/test.h"
#include "threads/thread.h"
#ifdef USERPROG
-#include "userprog/
addrspace
.h"
+#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"
@@
-113,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);
-
addrspace
_execute (initial_program);
+
process
_execute (initial_program);
}
#else
test ();
}
#else
test ();