Changeset bbb99f82 in mainline for kernel/genarch/src


Ignore:
Timestamp:
2019-03-31T09:01:39Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
68d8736
Parents:
a773b8b
Message:

Remove last x86 specifics from i8259 kernel driver

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/drivers/i8259/i8259.c

    ra773b8b rbbb99f82  
    8181        /*
    8282         * Register interrupt handler for the PIC spurious interrupt.
     83         *
     84         * XXX: This is currently broken. Both IRQ 7 and IRQ 15 can be spurious
     85         *      or can be actual interrupts. This needs to be detected when
     86         *      the interrupt happens by inspecting ISR.
    8387         */
    84         exc_register(VECTOR_PIC_SPUR, "pic_spurious", false,
     88        exc_register(irq0_int + 7, "pic_spurious", false,
    8589            (iroutine_t) pic_spurious);
    86 
    87         /*
    88          * Set the enable/disable IRQs handlers.
    89          * Set the End-of-Interrupt handler.
    90          */
    91         enable_irqs_function = pic_enable_irqs;
    92         disable_irqs_function = pic_disable_irqs;
    93         eoi_function = pic_eoi;
    94         irqs_info = "i8259";
    9590
    9691        pic_disable_irqs(0xffff);               /* disable all irq's */
Note: See TracChangeset for help on using the changeset viewer.