Changeset 7633928c in mainline
- Timestamp:
- 2012-12-19T20:53:05Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3c50cddc
- Parents:
- a4f959b
- Location:
- kernel/arch/mips32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/Makefile.inc
ra4f959b r7633928c 69 69 arch/$(KARCH)/src/fpu_context.c \ 70 70 arch/$(KARCH)/src/ddi/ddi.c \ 71 arch/$(KARCH)/src/smp/dorder.c \72 71 arch/$(KARCH)/src/smp/smp.c 72 73 ifeq ($(MACHINE),msim) 74 ARCH_SOURCES += \ 75 arch/$(KARCH)/src/smp/dorder.c 76 endif 77 -
kernel/arch/mips32/src/interrupt.c
ra4f959b r7633928c 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.