Use macros for 8259A PIC registers, instead of writing them literally.
[pintos-anon] / doc / sample.tmpl
index db2e70fd5e55ebfcb57a322c3af39ab632404509..466268a1d9435afd855b4a4c8c415f47ba56e861 100644 (file)
@@ -1,8 +1,9 @@
-                                +-----------------+
-                        |      CS 140     |
-                        |  SAMPLE PROJECT |
-                        | DESIGN DOCUMENT |
-                        +-----------------+
+
+                         +-----------------+
+                         |      CS 140     |
+                         |  SAMPLE PROJECT |
+                         | DESIGN DOCUMENT |
+                         +-----------------+
 
 ---- GROUP ----
 
@@ -10,19 +11,19 @@ Ben Pfaff <blp@stanford.edu>
 
 ---- PRELIMINARIES ----
 
->> If you have any preliminary comments on your submission, notes for the
->> TAs, or extra credit, please give them here.
+>> If you have any preliminary comments on your submission, notes for
+>> the TAs, or extra credit, please give them here.
 
 (This is a sample design document.)
 
 >> Please cite any offline or online sources you consulted while
->> preparing your submission, other than the Pintos documentation, course
->> text, and lecture notes.
+>> preparing your submission, other than the Pintos documentation,
+>> course text, and lecture notes.
 
 None.
 
-                                JOIN
-                                ====
+                                 JOIN
+                                 ====
 
 ---- DATA STRUCTURES ----
 
@@ -37,9 +38,9 @@ acquires pass immediately.
     /* Latch. */
     struct latch 
       {
-       bool released;              /* Released yet? */
-       struct lock monitor_lock;   /* Monitor lock. */
-       struct condition rel_cond;  /* Signaled when released. */
+        bool released;              /* Released yet? */
+        struct lock monitor_lock;   /* Monitor lock. */
+        struct condition rel_cond;  /* Signaled when released. */
       };
 
 Added to struct thread: