Make tests public. Rewrite most tests. Add tests.
[pintos-anon] / src / userprog / syscall.c
index db67593b4d910e223e8ec645b78942895c9232af..370c89b10f90501a4684c604ddbff9503481cf7a 100644 (file)
@@ -9,7 +9,7 @@ static void syscall_handler (struct intr_frame *);
 void
 syscall_init (void) 
 {
-  intr_register (0x30, 3, INTR_ON, syscall_handler, "syscall");
+  intr_register_int (0x30, 3, INTR_ON, syscall_handler, "syscall");
 }
 
 static void