Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* -*- mode: c; c-basic-offset: 8 -*- */ |
| 2 | |
| 3 | /* Copyright (C) 2002 |
| 4 | * |
| 5 | * Author: James.Bottomley@HansenPartnership.com |
| 6 | * |
| 7 | * linux/arch/i386/voyager/entry_arch.h |
| 8 | * |
| 9 | * This file builds the VIC and QIC CPI gates |
| 10 | */ |
| 11 | |
| 12 | /* initialise the voyager interrupt gates |
| 13 | * |
| 14 | * This uses the macros in irq.h to set up assembly jump gates. The |
| 15 | * calls are then redirected to the same routine with smp_ prefixed */ |
| 16 | BUILD_INTERRUPT(vic_sys_interrupt, VIC_SYS_INT) |
| 17 | BUILD_INTERRUPT(vic_cmn_interrupt, VIC_CMN_INT) |
| 18 | BUILD_INTERRUPT(vic_cpi_interrupt, VIC_CPI_LEVEL0); |
| 19 | |
| 20 | /* do all the QIC interrupts */ |
| 21 | BUILD_INTERRUPT(qic_timer_interrupt, QIC_TIMER_CPI); |
| 22 | BUILD_INTERRUPT(qic_invalidate_interrupt, QIC_INVALIDATE_CPI); |
| 23 | BUILD_INTERRUPT(qic_reschedule_interrupt, QIC_RESCHEDULE_CPI); |
| 24 | BUILD_INTERRUPT(qic_enable_irq_interrupt, QIC_ENABLE_IRQ_CPI); |
| 25 | BUILD_INTERRUPT(qic_call_function_interrupt, QIC_CALL_FUNCTION_CPI); |
| 26 | |