Changeset ef56a43 in mainline for kernel/arch/amd64/src
- 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/amd64/src/interrupt.c
r29beac8 ref56a43 60 60 void (*disable_irqs_function)(uint16_t irqmask) = NULL; 61 61 void (*enable_irqs_function)(uint16_t irqmask) = NULL; 62 void (*eoi_function)( void) = NULL;62 void (*eoi_function)(unsigned int) = NULL; 63 63 const char *irqs_info = NULL; 64 64 … … 91 91 } 92 92 93 static void trap_virtual_eoi( void)93 static void trap_virtual_eoi(unsigned int irq) 94 94 { 95 95 if (eoi_function) 96 eoi_function( );96 eoi_function(irq); 97 97 else 98 98 panic("No eoi_function."); … … 157 157 static void tlb_shootdown_ipi(unsigned int n, istate_t *istate) 158 158 { 159 trap_virtual_eoi( );159 trap_virtual_eoi(0); 160 160 tlb_shootdown_ipi_recv(); 161 161 } … … 184 184 if (irq->preack) { 185 185 /* Send EOI before processing the interrupt */ 186 trap_virtual_eoi( );186 trap_virtual_eoi(inum); 187 187 ack = true; 188 188 } … … 200 200 201 201 if (!ack) 202 trap_virtual_eoi( );202 trap_virtual_eoi(inum); 203 203 } 204 204
Note:
See TracChangeset
for help on using the changeset viewer.