Introduce "kernel" and "user" pools as a band-aid for user memory
[pintos-anon] / src / threads / palloc.h
index ca7824e58c7c9282eda82f14b5b6a0cae6507561..38a401cb10b4971de6a59f5e5617ab480ba14270 100644 (file)
@@ -6,7 +6,8 @@
 enum palloc_flags
   {
     PAL_ASSERT = 001,           /* Panic on failure. */
-    PAL_ZERO = 002              /* Zero page contents. */
+    PAL_ZERO = 002,             /* Zero page contents. */
+    PAL_USER = 004              /* User page. */
   };
 
 void palloc_init (void);