H38043
s 00041/00000/00000
d D 1.1 02/03/13 20:31:03 patch 2 1
cC
cF1
cK07866
cO-rw-rw-r--
e
s 00000/00000/00000
d D 1.0 02/03/13 20:31:03 patch 1 0
c BitKeeper file /home/marcelo/bk/linux-2.4/arch/mips/hp-lj/irq.c
cBtorvalds@athlon.transmeta.com|ChangeSet|20020205173056|16047|c1d11a41ed024864
cHplucky.distro.conectiva
cK31820
cParch/mips/hp-lj/irq.c
cRd00e1e2ab1c460de
cV4
cX0x821
cZ-03:00
e
u
U
f e 0
f x 0x821
t
T
I 2
/*
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * Code to handle x86 style IRQs plus some generic interrupt stuff.
 *
 * Copyright (C) 1992 Linus Torvalds
 * Copyright (C) 1994 - 2000 Ralf Baechle
 */

#include <linux/config.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <asm/mipsregs.h>
#include <asm/system.h>
#include <asm/gdb-stub.h>


/* install the handler for exception 0 */
void __init init_IRQ(void)
{
    extern void hpIRQ(void);
    extern void mips_cpu_irq_init(u32 base);
    mips_cpu_irq_init(0);
    set_except_vector(0, hpIRQ);

#ifdef CONFIG_REMOTE_DEBUG
    { 
       extern void breakpoint(void);
       extern int remote_debug;

       if (remote_debug) {
          set_debug_traps();
          breakpoint();
       }
    }
#endif
        
}

E 2
I 1
E 1
