1 #include <syscall-nr.h>
2 #include "tests/userprog/boundary.h"
4 #include "tests/main.h"
9 /* Put a syscall number at the end of one page
10 and its argument at the beginning of another. */
11 int *p = get_boundary_area ();
16 /* Invoke the system call. */
17 asm volatile ("mov %%esp, %0; int 0x30" :: "g" (p));
18 fail ("should have called exit(42)");