Changes in kernel/arch/mips32/src/interrupt.c [7633928c:2b698d8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/interrupt.c
r7633928c r2b698d8 45 45 #define IRQ_COUNT 8 46 46 #define TIMER_IRQ 7 47 48 #ifdef MACHINE_msim49 47 #define DORDER_IRQ 5 50 #endif51 48 52 49 function virtual_timer_fnc = NULL; 53 50 static irq_t timer_irq; 54 55 #ifdef MACHINE_msim56 51 static irq_t dorder_irq; 57 #endif58 52 59 53 // TODO: This is SMP unsafe!!! … … 157 151 } 158 152 159 #ifdef MACHINE_msim160 153 static irq_ownership_t dorder_claim(irq_t *irq) 161 154 { … … 167 160 dorder_ipi_ack(1 << dorder_cpuid()); 168 161 } 169 #endif170 162 171 163 /* Initialize basic tables for exception dispatching */ … … 184 176 cp0_unmask_int(TIMER_IRQ); 185 177 186 #ifdef MACHINE_msim187 178 irq_initialize(&dorder_irq); 188 179 dorder_irq.devno = device_assign_devno(); … … 193 184 194 185 cp0_unmask_int(DORDER_IRQ); 195 #endif196 186 } 197 187
Note:
See TracChangeset
for help on using the changeset viewer.