X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fuserprog.texi;h=0324a58214840a26d546fab2daf4e84c7f0f0622;hb=d80dc83cd65332de026aa01035967fc031d0f305;hp=fa3b4b8deb23d0a097249e7f1beefcb94d9cff9c;hpb=18654de05aa2c2fa2cc63e2c9c30b9dc536a33d7;p=pintos-anon diff --git a/doc/userprog.texi b/doc/userprog.texi index fa3b4b8..0324a58 100644 --- a/doc/userprog.texi +++ b/doc/userprog.texi @@ -38,7 +38,7 @@ working with, you should probably undo the test cases from project 1. * Using the File System:: * How User Programs Work:: * Virtual Memory Layout:: -* Global Requirements:: +* Grading Requirements:: * Problem 2-1 Argument Passing:: * Problem 2-2 System Calls:: * User Programs FAQ:: @@ -278,8 +278,8 @@ that needs @var{N} pages of memory must not require that all @var{N} be contiguous. In fact, it must not require that any of the pages be contiguous. -@node Global Requirements -@section Global Requirements +@node Grading Requirements +@section Grading Requirements For testing and grading purposes, we have some simple overall requirements: @@ -326,6 +326,16 @@ make sure that it takes the start-up process name and arguments from the @samp{-ex} argument. For example, running @code{pintos run -ex "testprogram 1 2 3 4"} will spawn @samp{testprogram 1 2 3 4} as the first process. + +@item +In the previous project, we required that you provided some specific +function interfaces, because we tested your project by compiling our +test code into it. For this project and all later projects, this is +no longer necessary, because we will do all of our testing with user +programs. You must make sure that the user program interface meets +the specifications described in the assignments, but given that +constraint you are free to restructure or rewrite kernel code however +you wish. @end itemize @node Problem 2-1 Argument Passing