Changes in kernel/genarch/src/acpi/madt.c [b2fa1204:63e27ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/acpi/madt.c
rb2fa1204 r63e27ef 35 35 */ 36 36 37 #include <assert.h> 37 38 #include <typedefs.h> 38 39 #include <genarch/acpi/acpi.h> … … 41 42 #include <arch/smp/smp.h> 42 43 #include <panic.h> 43 #include <debug.h>44 44 #include <config.h> 45 45 #include <log.h> 46 46 #include <mm/slab.h> 47 #include <memstr.h> 48 #include <sort.h> 47 #include <gsort.h> 49 48 50 49 struct acpi_madt *acpi_madt = NULL; … … 83 82 static uint8_t madt_cpu_apic_id(size_t i) 84 83 { 85 ASSERT(i < madt_l_apic_entry_cnt);84 assert(i < madt_l_apic_entry_cnt); 86 85 87 86 return ((struct madt_l_apic *) … … 91 90 static bool madt_cpu_enabled(size_t i) 92 91 { 93 ASSERT(i < madt_l_apic_entry_cnt);92 assert(i < madt_l_apic_entry_cnt); 94 93 95 94 /* … … 107 106 static bool madt_cpu_bootstrap(size_t i) 108 107 { 109 ASSERT(i < madt_l_apic_entry_cnt);108 assert(i < madt_l_apic_entry_cnt); 110 109 111 110 return ((struct madt_l_apic *) … … 177 176 size_t i) 178 177 { 179 ASSERT(override->source < sizeof(isa_irq_map) / sizeof(int));178 assert(override->source < sizeof(isa_irq_map) / sizeof(int)); 180 179 181 180 isa_irq_map[override->source] = override->global_int;
Note:
See TracChangeset
for help on using the changeset viewer.