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