Changes in uspace/srv/hw/irc/apic/apic.c [b50bf6c2:df02460] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/irc/apic/apic.c
rb50bf6c2 rdf02460 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 } … … 208 206 } 209 207 210 int rc = pio_enable((void *) IO_APIC_BASE, IO_APIC_SIZE, 211 (void **) &io_apic); 212 if (rc != EOK) { 213 printf("%s: Failed to enable PIO for APIC: %d\n", NAME, rc); 208 if (pio_enable((void *) IO_APIC_BASE, IO_APIC_SIZE, 209 (void **) &io_apic) != EOK) 214 210 return false; 215 }216 211 217 212 async_set_client_connection(apic_connection);
Note:
See TracChangeset
for help on using the changeset viewer.