diff options
author | kaashoek <kaashoek> | 2006-09-04 12:41:27 +0000 |
---|---|---|
committer | kaashoek <kaashoek> | 2006-09-04 12:41:27 +0000 |
commit | a81e02133a2e8cb20ba62113a67bc9bee746c8bf (patch) | |
tree | 557088f8fbfc67cb23f4bd88168e2bebd6a64417 | |
parent | 82537b7156b98f5b1277641fef99d0b75a402a95 (diff) | |
download | xv6-labs-a81e02133a2e8cb20ba62113a67bc9bee746c8bf.tar.gz xv6-labs-a81e02133a2e8cb20ba62113a67bc9bee746c8bf.tar.bz2 xv6-labs-a81e02133a2e8cb20ba62113a67bc9bee746c8bf.zip |
a few nits
-rw-r--r-- | lapic.c | 1 | ||||
-rw-r--r-- | picirq.c | 2 | ||||
-rw-r--r-- | trap.c | 2 |
3 files changed, 1 insertions, 4 deletions
@@ -114,7 +114,6 @@ lapic_timerinit(void) void lapic_timerintr(void) { - // cprintf("cpu%d: timer interrupt!\n", cpu()); lapic_write (LAPIC_EOI, 0); } @@ -1,5 +1,3 @@ -/* See COPYRIGHT for copyright information. */ - #include "types.h" #include "x86.h" #include "traps.h" @@ -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 |