X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fuserprog.texi;h=ab6115ce6c67b348a40f5eb1c7e9707c8e1d29c9;hb=5dc8313546997693da58c83ee52b74dcaa7588ce;hp=00c0f67e21740c550ca2c0d44ae782ebd7b597d1;hpb=620151bef89b4fa74f548ca21e716dc218bb3c70;p=pintos-anon diff --git a/doc/userprog.texi b/doc/userprog.texi index 00c0f67..ab6115c 100644 --- a/doc/userprog.texi +++ b/doc/userprog.texi @@ -481,6 +481,12 @@ The @code{write} system call for writing to fd 1, the system console. All of our test programs write to the console (the user process version of @func{printf} is implemented this way), so they will all malfunction until @code{write} is available. + +@item +For now, change @func{process_wait} to an infinite loop (one that waits +forever). The provided implementation returns immediately, so Pintos +will power off before any processes actually get to run. You will +eventually need to provide a correct implementation. @end itemize After the above are implemented, user processes should work minimally.