summaryrefslogtreecommitdiff
path: root/trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'trap.c')
-rw-r--r--trap.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/trap.c b/trap.c
index afa0e18..4c58cb2 100644
--- a/trap.c
+++ b/trap.c
@@ -41,16 +41,6 @@ idtinit(void)
void
trap(struct trapframe *tf)
{
- if(tf->trapno == T_SYSCALL){
- if(myproc()->killed)
- exit();
- myproc()->tf = tf;
- syscall();
- if(myproc()->killed)
- exit();
- return;
- }
-
switch(tf->trapno){
case T_IRQ0 + IRQ_TIMER:
if(cpuid() == 0){