Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
irq.h
Package: linux-2.4.20.tar.gz [view]
Upload User: jlfgdled
Upload Date: 2013-04-10
Package Size: 33168k
Code Size: 2k
Category:
Linux-Unix program
Development Platform:
Unix_Linux
- #ifndef _ALPHA_IRQ_H
- #define _ALPHA_IRQ_H
- /*
- * linux/include/alpha/irq.h
- *
- * (C) 1994 Linus Torvalds
- */
- #include <linux/linkage.h>
- #include <linux/config.h>
- #if defined(CONFIG_ALPHA_GENERIC)
- /* Here NR_IRQS is not exact, but rather an upper bound. This is used
- many places throughout the kernel to size static arrays. That's ok,
- we'll use alpha_mv.nr_irqs when we want the real thing. */
- # define NR_IRQS 2048 /* enuff for WILDFIRE with 8 QBBs */
- #elif defined(CONFIG_ALPHA_CABRIOLET) ||
- defined(CONFIG_ALPHA_EB66P) ||
- defined(CONFIG_ALPHA_EB164) ||
- defined(CONFIG_ALPHA_PC164) ||
- defined(CONFIG_ALPHA_LX164)
- # define NR_IRQS 35
- #elif defined(CONFIG_ALPHA_EB66) ||
- defined(CONFIG_ALPHA_EB64P) ||
- defined(CONFIG_ALPHA_MIKASA)
- # define NR_IRQS 32
- #elif defined(CONFIG_ALPHA_ALCOR) ||
- defined(CONFIG_ALPHA_XLT) ||
- defined(CONFIG_ALPHA_MIATA) ||
- defined(CONFIG_ALPHA_RUFFIAN) ||
- defined(CONFIG_ALPHA_RX164) ||
- defined(CONFIG_ALPHA_NORITAKE)
- # define NR_IRQS 48
- #elif defined(CONFIG_ALPHA_SABLE) ||
- defined(CONFIG_ALPHA_SX164)
- # define NR_IRQS 40
- #elif defined(CONFIG_ALPHA_DP264) ||
- defined(CONFIG_ALPHA_SHARK) ||
- defined(CONFIG_ALPHA_EIGER)
- # define NR_IRQS 64
- #elif defined(CONFIG_ALPHA_TITAN)
- #define NR_IRQS 80
- #elif defined(CONFIG_ALPHA_RAWHIDE) ||
- defined(CONFIG_ALPHA_TAKARA)
- # define NR_IRQS 128
- #elif defined(CONFIG_ALPHA_WILDFIRE)
- # define NR_IRQS 2048 /* enuff for 8 QBBs */
- #else /* everyone else */
- # define NR_IRQS 16
- #endif
- static __inline__ int irq_cannonicalize(int irq)
- {
- /*
- * XXX is this true for all Alpha's? The old serial driver
- * did it this way for years without any complaints, so....
- */
- return ((irq == 2) ? 9 : irq);
- }
- extern void disable_irq(unsigned int);
- extern void disable_irq_nosync(unsigned int);
- extern void enable_irq(unsigned int);
- struct pt_regs;
- extern void (*perf_irq)(unsigned long, struct pt_regs *);
- #endif /* _ALPHA_IRQ_H */