summaryrefslogtreecommitdiff
path: root/trap.c
diff options
context:
space:
mode:
authorkaashoek <kaashoek>2006-09-04 12:41:27 +0000
committerkaashoek <kaashoek>2006-09-04 12:41:27 +0000
commita81e02133a2e8cb20ba62113a67bc9bee746c8bf (patch)
tree557088f8fbfc67cb23f4bd88168e2bebd6a64417 /trap.c
parent82537b7156b98f5b1277641fef99d0b75a402a95 (diff)
downloadxv6-labs-a81e02133a2e8cb20ba62113a67bc9bee746c8bf.tar.gz
xv6-labs-a81e02133a2e8cb20ba62113a67bc9bee746c8bf.tar.bz2
xv6-labs-a81e02133a2e8cb20ba62113a67bc9bee746c8bf.zip
a few nits
Diffstat (limited to 'trap.c')
-rw-r--r--trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trap.c b/trap.c
index bbb2500..fc872e6 100644
--- a/trap.c
+++ b/trap.c
@@ -21,7 +21,7 @@ tvinit(void)
for(i = 0; i < 256; i++){
SETGATE(idt[i], 1, SEG_KCODE << 3, vectors[i], 0);
}
- SETGATE(idt[T_SYSCALL], 1, SEG_KCODE << 3, vectors[48], 3);
+ SETGATE(idt[T_SYSCALL], 1, SEG_KCODE << 3, vectors[T_SYSCALL], 3);
}
void