diff options
Diffstat (limited to 'arch/i386/kernel/syscall.c')
-rw-r--r-- | arch/i386/kernel/syscall.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/i386/kernel/syscall.c b/arch/i386/kernel/syscall.c index 570f0de..18f36ad 100644 --- a/arch/i386/kernel/syscall.c +++ b/arch/i386/kernel/syscall.c @@ -9,7 +9,6 @@ void syscall_dispatch(struct isr_frame *frame) { syscall_handlers[frame->eax](frame); else kprintf("Error: Invalid system call number: %d\n", frame->eax); - __asm__ volatile("cli;hlt"); } void register_syscall(void *handler(struct isr_frame*), int num) { @@ -34,9 +33,6 @@ void dump_reg(struct isr_frame *frame) { kprintf("\tEDX = %x\n", frame->edx); kprintf("\tESI = %x\n", frame->esi); kprintf("\tEDI = %x\n", frame->edi); - kprintf("\tESP = %x\n", frame->esp); - kprintf("\tEBP = %x\n", frame->ebp); kprintf("\tEIP = %x\n", frame->eip); - kprintf("\tEFLAGS = %x\n", frame->eflags); kprintf("Current code selector: %d\n", frame->cs); } |