Ignore:
Timestamp:
Jun 29, 2017, 9:54:01 AM (7 years ago)
Author:
max@…
Message:

Parse the IOAPIC structure in ACPI, map the IOAPIC, and enable
the keyboard interrupt. Its queue is not flushed yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_acpi.h

    r51 r89  
    179179        uint64_t Address;  /* APIC physical address */
    180180} __packed;
    181 typedef struct acpi_madt_local_apic_override madt_lapic_override;
     181typedef struct acpi_madt_local_apic_override madt_lapic_override_t;
    182182
     183struct acpi_madt_io_apic {
     184        subheader_t Header;
     185        uint8_t Id;             /* I/O APIC ID */
     186        uint8_t Reserved;       /* Reserved - must be zero */
     187        uint32_t Address;       /* APIC physical address */
     188        uint32_t GlobalIrqBase; /* Global system interrupt where INTI lines start */
     189} __packed;
     190typedef struct acpi_madt_io_apic madt_ioapic_t;
     191
Note: See TracChangeset for help on using the changeset viewer.