Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/interrupt.c

    r7633928c r2b698d8  
    4545#define IRQ_COUNT   8
    4646#define TIMER_IRQ   7
    47 
    48 #ifdef MACHINE_msim
    4947#define DORDER_IRQ  5
    50 #endif
    5148
    5249function virtual_timer_fnc = NULL;
    5350static irq_t timer_irq;
    54 
    55 #ifdef MACHINE_msim
    5651static irq_t dorder_irq;
    57 #endif
    5852
    5953// TODO: This is SMP unsafe!!!
     
    157151}
    158152
    159 #ifdef MACHINE_msim
    160153static irq_ownership_t dorder_claim(irq_t *irq)
    161154{
     
    167160        dorder_ipi_ack(1 << dorder_cpuid());
    168161}
    169 #endif
    170162
    171163/* Initialize basic tables for exception dispatching */
     
    184176        cp0_unmask_int(TIMER_IRQ);
    185177       
    186 #ifdef MACHINE_msim
    187178        irq_initialize(&dorder_irq);
    188179        dorder_irq.devno = device_assign_devno();
     
    193184       
    194185        cp0_unmask_int(DORDER_IRQ);
    195 #endif
    196186}
    197187
Note: See TracChangeset for help on using the changeset viewer.