Add explanatory comments to vm tests.
[pintos-anon] / src / tests / vm / pt-grow-bad.c
index d83890fb7c0252579d38c6fff77015d6d6e67a86..d4beba22ff50e06ff6a31bc4783061ce2abd92b3 100644 (file)
@@ -1,3 +1,6 @@
+/* Read from an address 4,096 bytes below the stack pointer.
+   The process must be terminated with -1 exit code. */
+
 #include <string.h>
 #include "tests/arc4.h"
 #include "tests/cksum.h"
@@ -7,7 +10,5 @@
 void
 test_main (void)
 {
-  /* Read from an address 4,096 bytes below the stack pointer.
-     Must kill the program. */
   asm volatile ("movl -4096(%esp), %eax");
 }