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

Updated makefile and removed exit_thread() from syscall.c

parent d996a961
Branches
No related tags found
2 merge requests!22Merge Feature/system calls,!15Alex/27 implement open system call
......@@ -63,6 +63,7 @@ userprog_SRC += userprog/syscall.c # System call handler.
userprog_SRC += userprog/gdt.c # GDT initialization.
userprog_SRC += userprog/tss.c # TSS management.
userprog_SRC += userprog/syscall_exec.c
userprog_SRC += userprog/syscall_exit.c
userprog_SRC += userprog/syscall_open.c
userprog_SRC += userprog/syscall_halt.c
userprog_SRC += userprog/syscall_wait.c
......
......@@ -60,7 +60,6 @@ syscall_handler (struct intr_frame *f UNUSED)
break;
case SYSCALL_EXIT:
syscall_exit(f);
thread_exit();
break;
case SYSCALL_EXEC:
syscall_exec(f);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment