Changes in / [bf9da656:0dc91833] in mainline
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/acpi/madt.c
rbf9da656 r0dc91833 116 116 static int madt_irq_to_pin(unsigned int irq) 117 117 { 118 if (irq >= sizeof(isa_irq_map) / sizeof(int)) 119 return (int) irq; 118 ASSERT(irq < sizeof(isa_irq_map) / sizeof(int)); 120 119 121 120 return isa_irq_map[irq]; … … 179 178 ASSERT(override->source < sizeof(isa_irq_map) / sizeof(int)); 180 179 181 isa_irq_map[override->source] = override->global_int; 180 printf("MADT: Ignoring %s entry: bus=%" PRIu8 ", source=%" PRIu8 181 ", global_int=%" PRIu32 ", flags=%#" PRIx16 "\n", 182 entry[override->header.type], override->bus, override->source, 183 override->global_int, override->flags); 182 184 } 183 185 -
uspace/srv/hw/irc/apic/apic.c
rbf9da656 r0dc91833 133 133 // FIXME: get the map from the kernel, even though this may work 134 134 // for simple cases 135 if (irq == 0)136 return 2;137 135 return irq; 138 136 }
Note:
See TracChangeset
for help on using the changeset viewer.