⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 irq_sapic.c

📁 Linux内核源代码 为压缩文件 是<<Linux内核>>一书中的源代码
💻 C
字号:
/* * SAPIC Interrupt Controller * * This takes care of interrupts that are generated by the CPU's * internal Streamlined Advanced Programmable Interrupt Controller * (SAPIC), such as the ITC and IPI interrupts. * * Copyright (C) 1999 VA Linux Systems * Copyright (C) 1999 Walt Drummond <drummond@valinux.com> * Copyright (C) 2000 Hewlett-Packard Co * Copyright (C) 2000 David Mosberger-Tang <davidm@hpl.hp.com> */#include <linux/sched.h>#include <linux/irq.h>static unsigned intsapic_noop_startup (unsigned int irq){	return 0;}static voidsapic_noop (unsigned int irq){	/* nuthing to do... */}struct hw_interrupt_type irq_type_ia64_sapic = {	typename:	"SAPIC",	startup:	sapic_noop_startup,	shutdown:	sapic_noop,	enable:		sapic_noop,	disable:	sapic_noop,	ack:		sapic_noop,	end:		sapic_noop,	set_affinity:	(void (*)(unsigned int, unsigned long)) sapic_noop};

⌨️ 快捷键说明

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