]> Zhao Yanbai Git Server - minix.git/commitdiff
panic in dummy apic handlers
authorTomas Hruby <tom@minix3.org>
Tue, 19 Oct 2010 17:07:17 +0000 (17:07 +0000)
committerTomas Hruby <tom@minix3.org>
Tue, 19 Oct 2010 17:07:17 +0000 (17:07 +0000)
- as panic can do the same as printf now, let's rather panic when a
  dummy apic interrupt vector handler is hit

kernel/arch/i386/apic_asm.S

index 0fec5e34c7e6ecc6c8cbda6570e5fe56674375d4..8dca5b7e328807e9b8bd687a8668a89c4e00d72c 100644 (file)
@@ -88,7 +88,7 @@ lapic_intr_dummy_handler_msg:
 #define lapic_intr_dummy_handler(vect)                 \
        pushl   $vect;                                  \
        push    $lapic_intr_dummy_handler_msg;          \
-       call    _C_LABEL(printf);                       \
+       call    _C_LABEL(panic);                        \
 1:     jmp     1b; /* never return */
 
 #define LAPIC_INTR_DUMMY_HANDLER(vect)                 \