Changeset 6cd9aa6 in mainline for kernel/arch/mips32/src
- Timestamp:
- 2009-02-15T23:13:55Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 17f168e
- Parents:
- fa09449
- Location:
- kernel/arch/mips32/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/drivers/msim.c
rfa09449 r6cd9aa6 95 95 96 96 /** Process keyboard interrupt. */ 97 static void msim_irq_handler(irq_t *irq , void *arg, ...)97 static void msim_irq_handler(irq_t *irq) 98 98 { 99 99 if ((irq->notif_cfg.notify) && (irq->notif_cfg.answerbox)) … … 111 111 } 112 112 113 static irq_ownership_t msim_claim(void )113 static irq_ownership_t msim_claim(void *instance) 114 114 { 115 115 return IRQ_ACCEPT; -
kernel/arch/mips32/src/drivers/serial.c
rfa09449 r6cd9aa6 113 113 114 114 /** Process keyboard interrupt. Does not work in simics? */ 115 static void serial_irq_handler(irq_t *irq , void *arg, ...)115 static void serial_irq_handler(irq_t *irq) 116 116 { 117 117 if ((irq->notif_cfg.notify) && (irq->notif_cfg.answerbox)) … … 121 121 } 122 122 123 static irq_ownership_t serial_claim(void )123 static irq_ownership_t serial_claim(void *instance) 124 124 { 125 125 return IRQ_ACCEPT; -
kernel/arch/mips32/src/exception.c
rfa09449 r6cd9aa6 145 145 146 146 /* decode interrupt number and process the interrupt */ 147 cause = (cp0_cause_read() >> 8) & 0xff;147 cause = (cp0_cause_read() >> 8) & 0xff; 148 148 149 149 for (i = 0; i < 8; i++) { … … 154 154 * The IRQ handler was found. 155 155 */ 156 irq->handler(irq , irq->arg);156 irq->handler(irq); 157 157 spinlock_unlock(&irq->lock); 158 158 } else { … … 161 161 */ 162 162 #ifdef CONFIG_DEBUG 163 printf("cpu%u: spurious interrupt (inum=%d)\n", CPU->id, i); 163 printf("cpu%u: spurious interrupt (inum=%d)\n", 164 CPU->id, i); 164 165 #endif 165 166 } -
kernel/arch/mips32/src/interrupt.c
rfa09449 r6cd9aa6 101 101 } 102 102 103 static irq_ownership_t timer_claim(void )103 static irq_ownership_t timer_claim(void *instance) 104 104 { 105 105 return IRQ_ACCEPT; 106 106 } 107 107 108 static void timer_irq_handler(irq_t *irq , void *arg, ...)108 static void timer_irq_handler(irq_t *irq) 109 109 { 110 110 unsigned long drift;
Note:
See TracChangeset
for help on using the changeset viewer.