diff options
Diffstat (limited to 'arch/m68k/mac/psc.c')
-rw-r--r-- | arch/m68k/mac/psc.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/m68k/mac/psc.c b/arch/m68k/mac/psc.c index e6c2d20f328d..6f026fc302fa 100644 --- a/arch/m68k/mac/psc.c +++ b/arch/m68k/mac/psc.c | |||
@@ -180,20 +180,3 @@ void psc_irq_disable(int irq) { | |||
180 | #endif | 180 | #endif |
181 | psc_write_byte(pIER, 1 << irq_idx); | 181 | psc_write_byte(pIER, 1 << irq_idx); |
182 | } | 182 | } |
183 | |||
184 | void psc_irq_clear(int irq) { | ||
185 | int irq_src = IRQ_SRC(irq); | ||
186 | int irq_idx = IRQ_IDX(irq); | ||
187 | int pIFR = pIERbase + (irq_src << 4); | ||
188 | |||
189 | psc_write_byte(pIFR, 1 << irq_idx); | ||
190 | } | ||
191 | |||
192 | int psc_irq_pending(int irq) | ||
193 | { | ||
194 | int irq_src = IRQ_SRC(irq); | ||
195 | int irq_idx = IRQ_IDX(irq); | ||
196 | int pIFR = pIERbase + (irq_src << 4); | ||
197 | |||
198 | return psc_read_byte(pIFR) & (1 << irq_idx); | ||
199 | } | ||