X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fuserprog%2Fsyscall.c;h=370c89b10f90501a4684c604ddbff9503481cf7a;hb=615bf3b3d2a8573ed6fb9ddc0055745e163ac999;hp=db67593b4d910e223e8ec645b78942895c9232af;hpb=5780c9f434cca090f88463b7f0199d49b4ded288;p=pintos-anon diff --git a/src/userprog/syscall.c b/src/userprog/syscall.c index db67593..370c89b 100644 --- a/src/userprog/syscall.c +++ b/src/userprog/syscall.c @@ -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