Merge basic system calls with stack set-up infrastructure #27

Merged
td1223 merged 31 commits from user-programs into user-programs-stdout 2024-11-06 22:21:28 +00:00
2 changed files with 9 additions and 122 deletions
Showing only changes of commit 0bf5fdb0e5 - Show all commits

View File

@@ -6,6 +6,11 @@
static void syscall_handler (struct intr_frame *); static void syscall_handler (struct intr_frame *);
/* A syscall_function is a function that receives up to 3 arguments, the
arguments to the functions are either ints or pointers taking up to 32 bits
in size. */
typedef uintptr_t syscall_function (uintptr_t, uintptr_t, uintptr_t);
void void
syscall_init (void) syscall_init (void)
{ {