Changeset ef56a43 in mainline for kernel/arch/ia32/src/interrupt.c
- Timestamp:
- 2019-04-06T06:55:42Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fd67c9f
- Parents:
- 29beac8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/interrupt.c
r29beac8 ref56a43 63 63 void (*disable_irqs_function)(uint16_t irqmask) = NULL; 64 64 void (*enable_irqs_function)(uint16_t irqmask) = NULL; 65 void (*eoi_function)( void) = NULL;65 void (*eoi_function)(unsigned int) = NULL; 66 66 const char *irqs_info = NULL; 67 67 … … 90 90 } 91 91 92 static void trap_virtual_eoi( void)92 static void trap_virtual_eoi(unsigned int inum) 93 93 { 94 94 if (eoi_function) 95 eoi_function( );95 eoi_function(inum); 96 96 else 97 97 panic("No eoi_function."); … … 179 179 istate_t *istate __attribute__((unused))) 180 180 { 181 trap_virtual_eoi( );181 trap_virtual_eoi(0); 182 182 tlb_shootdown_ipi_recv(); 183 183 } … … 204 204 if (irq->preack) { 205 205 /* Send EOI before processing the interrupt */ 206 trap_virtual_eoi( );206 trap_virtual_eoi(inum); 207 207 ack = true; 208 208 } … … 219 219 220 220 if (!ack) 221 trap_virtual_eoi( );221 trap_virtual_eoi(inum); 222 222 } 223 223
Note:
See TracChangeset
for help on using the changeset viewer.