Skip to content
Snippets Groups Projects
Commit 79448b23 authored by a2-stratford's avatar a2-stratford
Browse files

Implemented syscall_open

Added it to syscall handler
Removed syscall_exit
parent 458520b9
Branches
Tags
2 merge requests!22Merge Feature/system calls,!15Alex/27 implement open system call
......@@ -74,6 +74,9 @@ syscall_handler (struct intr_frame *f UNUSED)
case SYSCALL_WRITE:
syscall_write(f);
break;
case SYSCALL_OPEN:
syscall_open(f);
break;
default:
printf ("WARNING: Invalid Syscall (%d)\n", syscall_number);
thread_exit ();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment