From b26098268eb443f1ed3dc50d902b2beee40c8342 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 16 Jul 2022 19:35:05 +0200 Subject: amd64: seemingly working syscalls (SYSCALL/SYSRET) --- src/kernel/arch/amd64/interrupts/idt.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/kernel/arch/amd64/interrupts') 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) { -- cgit v1.2.3