diff options
author | dzwdz | 2022-07-16 19:35:05 +0200 |
---|---|---|
committer | dzwdz | 2022-07-16 19:35:05 +0200 |
commit | b26098268eb443f1ed3dc50d902b2beee40c8342 (patch) | |
tree | 1b7bf720cde8e68fe1f446a414f38f4f63175227 /src/kernel/arch/amd64/interrupts | |
parent | ce80ee8d40b0a2b48bfbbceac9a0baee189c5e1b (diff) |
amd64: seemingly working syscalls (SYSCALL/SYSRET)
Diffstat (limited to 'src/kernel/arch/amd64/interrupts')
-rw-r--r-- | src/kernel/arch/amd64/interrupts/idt.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/kernel/arch/amd64/interrupts/idt.c b/src/kernel/arch/amd64/interrupts/idt.c index 9c71000..f9f3073 100644 --- a/src/kernel/arch/amd64/interrupts/idt.c +++ b/src/kernel/arch/amd64/interrupts/idt.c @@ -57,11 +57,8 @@ static void idt_load(void) { } static void idt_test(void) { - kprintf("idt test?\n"); - asm("xchgw %%bx, %%bx" ::: "memory"); asm("int $0x34" : : : "memory"); assert(isr_test_interrupt_called); - kprintf("done.\n"); } void idt_init(void) { |