From c0f85a6bccd74349293151038bbed222b6782a7c Mon Sep 17 00:00:00 2001 From: EDiasAlberto Date: Sun, 3 Nov 2024 22:36:22 +0000 Subject: [PATCH] Implement skeleton for exit command w/ S. --- src/userprog/syscall.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/userprog/syscall.c b/src/userprog/syscall.c index 1d3ef62..5fec7d3 100644 --- a/src/userprog/syscall.c +++ b/src/userprog/syscall.c @@ -14,6 +14,7 @@ typedef uintptr_t syscall_function (uintptr_t, uintptr_t, uintptr_t); /* System Call Functions */ static void halt (void); +static void exit (int status); void syscall_init (void) @@ -33,3 +34,9 @@ halt (void) { shutdown_power_off (); } + +static void +exit (int status) +{ + //TODO +} \ No newline at end of file