Changeset 25eec4e in mainline for kernel/arch/mips32/src/interrupt.c
- Timestamp:
- 2013-04-19T18:38:18Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6d717a4
- Parents:
- a1e2df13 (diff), 289cb7dd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/interrupt.c
ra1e2df13 r25eec4e 45 45 #define IRQ_COUNT 8 46 46 #define TIMER_IRQ 7 47 48 #ifdef MACHINE_msim 47 49 #define DORDER_IRQ 5 50 #endif 48 51 49 52 function virtual_timer_fnc = NULL; 50 53 static irq_t timer_irq; 54 55 #ifdef MACHINE_msim 51 56 static irq_t dorder_irq; 57 #endif 52 58 53 59 // TODO: This is SMP unsafe!!! … … 151 157 } 152 158 159 #ifdef MACHINE_msim 153 160 static irq_ownership_t dorder_claim(irq_t *irq) 154 161 { … … 160 167 dorder_ipi_ack(1 << dorder_cpuid()); 161 168 } 169 #endif 162 170 163 171 /* Initialize basic tables for exception dispatching */ … … 176 184 cp0_unmask_int(TIMER_IRQ); 177 185 186 #ifdef MACHINE_msim 178 187 irq_initialize(&dorder_irq); 179 188 dorder_irq.devno = device_assign_devno(); … … 184 193 185 194 cp0_unmask_int(DORDER_IRQ); 195 #endif 186 196 } 187 197
Note:
See TracChangeset
for help on using the changeset viewer.