Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/src/amd64.c

    r3daba42e rbae43dc  
    4545#include <arch/boot/boot.h>
    4646#include <arch/drivers/i8254.h>
     47#include <arch/drivers/i8259.h>
    4748#include <arch/syscall.h>
    4849#include <genarch/acpi/acpi.h>
    4950#include <genarch/drivers/ega/ega.h>
    5051#include <genarch/drivers/i8042/i8042.h>
    51 #include <genarch/drivers/i8259/i8259.h>
    5252#include <genarch/drivers/ns16550/ns16550.h>
    5353#include <genarch/drivers/legacy/ia32/io.h>
     
    120120
    121121                /* PIC */
    122                 i8259_init((i8259_t *) I8259_PIC0_BASE,
    123                     (i8259_t *) I8259_PIC1_BASE, IVT_IRQBASE);
    124 
    125                 /*
    126                  * Set the enable/disable IRQs handlers.
    127                  * Set the End-of-Interrupt handler.
    128                  */
    129                 enable_irqs_function = pic_enable_irqs;
    130                 disable_irqs_function = pic_disable_irqs;
    131                 eoi_function = pic_eoi;
    132                 irqs_info = "i8259";
     122                i8259_init();
    133123        }
    134124}
Note: See TracChangeset for help on using the changeset viewer.