irq.c (9cdf083f981b8d37b3212400a359368661385099) irq.c (97dcb82de6cc99a5669eb8e342efc24cceb1e77e)
1/*
2 * IRQ vector handles
3 *
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
6 * for more details.
7 *
8 * Copyright (C) 1995, 1996, 1997, 2003 by Ralf Baechle

--- 90 unchanged lines hidden (view full) ---

99{
100 /*
101 * Mask all Galileo interrupts. The Galileo
102 * handler is set in cobalt_timer_setup()
103 */
104 GT_WRITE(GT_INTRMASK_OFS, 0);
105
106 init_i8259_irqs(); /* 0 ... 15 */
1/*
2 * IRQ vector handles
3 *
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
6 * for more details.
7 *
8 * Copyright (C) 1995, 1996, 1997, 2003 by Ralf Baechle

--- 90 unchanged lines hidden (view full) ---

99{
100 /*
101 * Mask all Galileo interrupts. The Galileo
102 * handler is set in cobalt_timer_setup()
103 */
104 GT_WRITE(GT_INTRMASK_OFS, 0);
105
106 init_i8259_irqs(); /* 0 ... 15 */
107 mips_cpu_irq_init(COBALT_CPU_IRQ); /* 16 ... 23 */
107 mips_cpu_irq_init(); /* 16 ... 23 */
108
109 /*
110 * Mask all cpu interrupts
111 * (except IE4, we already masked those at VIA level)
112 */
113 change_c0_status(ST0_IM, IE_IRQ4);
114
115 setup_irq(COBALT_VIA_IRQ, &irq_via);
116}
108
109 /*
110 * Mask all cpu interrupts
111 * (except IE4, we already masked those at VIA level)
112 */
113 change_c0_status(ST0_IM, IE_IRQ4);
114
115 setup_irq(COBALT_VIA_IRQ, &irq_via);
116}