X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fthreads%2Finit.c;h=0d9c69984603eaaa6a69bf4fac58c4af9e54ce54;hb=de6fa5350d2ddf2d36bab80236cf09d8127cde6b;hp=155ccae6adf1f2b50d2450bb6739a6b183c28498;hpb=4286b9989837b940cf9d0a6800a8e69505d1a437;p=pintos-anon diff --git a/src/threads/init.c b/src/threads/init.c index 155ccae..0d9c699 100644 --- 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 "userprog/process.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); - thread_execute (initial_program); + process_execute (initial_program); } #else test ();