irq.c

来自「这个linux源代码是很全面的~基本完整了~使用c编译的~由于时间问题我没有亲自」· C语言 代码 · 共 36 行

C
36
字号
/* * Copyright 2001 MontaVista Software Inc. * Author: jsun@mvista.com or jsun@junsun.net * * arch/mips/ddb5xxx/common/irq.c *     Common irq code for DDB boards.  This really should belong *	arch/mips/kernel/irq.c.  Need to talk to Ralf. * * This program is free software; you can redistribute  it and/or modify it * under  the terms of  the GNU General  Public License as published by the * Free Software Foundation;  either version 2 of the  License, or (at your * option) any later version. */#include <linux/config.h>#include <linux/init.h>#include <asm/irq.h>void (*irq_setup)(void);void __init init_IRQ(void){#ifdef CONFIG_REMOTE_DEBUG	extern void breakpoint(void);	extern void set_debug_traps(void);	printk("Wait for gdb client connection ...\n");	set_debug_traps();	breakpoint();#endif	/* set up default irq controller */	init_generic_irq();	/* invoke board-specific irq setup */	irq_setup();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?