Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/acpi/madt.c

    rb2fa1204 r63e27ef  
    3535 */
    3636
     37#include <assert.h>
    3738#include <typedefs.h>
    3839#include <genarch/acpi/acpi.h>
     
    4142#include <arch/smp/smp.h>
    4243#include <panic.h>
    43 #include <debug.h>
    4444#include <config.h>
    4545#include <log.h>
    4646#include <mm/slab.h>
    47 #include <memstr.h>
    48 #include <sort.h>
     47#include <gsort.h>
    4948
    5049struct acpi_madt *acpi_madt = NULL;
     
    8382static uint8_t madt_cpu_apic_id(size_t i)
    8483{
    85         ASSERT(i < madt_l_apic_entry_cnt);
     84        assert(i < madt_l_apic_entry_cnt);
    8685       
    8786        return ((struct madt_l_apic *)
     
    9190static bool madt_cpu_enabled(size_t i)
    9291{
    93         ASSERT(i < madt_l_apic_entry_cnt);
     92        assert(i < madt_l_apic_entry_cnt);
    9493       
    9594        /*
     
    107106static bool madt_cpu_bootstrap(size_t i)
    108107{
    109         ASSERT(i < madt_l_apic_entry_cnt);
     108        assert(i < madt_l_apic_entry_cnt);
    110109       
    111110        return ((struct madt_l_apic *)
     
    177176    size_t i)
    178177{
    179         ASSERT(override->source < sizeof(isa_irq_map) / sizeof(int));
     178        assert(override->source < sizeof(isa_irq_map) / sizeof(int));
    180179       
    181180        isa_irq_map[override->source] = override->global_int;
Note: See TracChangeset for help on using the changeset viewer.