irq.h 654 字节
Newer Older
1
/* SPDX-License-Identifier: GPL-2.0 */
L
Linus Torvalds 已提交
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef __UM_IRQ_H
#define __UM_IRQ_H

#define TIMER_IRQ		0
#define UMN_IRQ			1
#define CONSOLE_IRQ		2
#define CONSOLE_WRITE_IRQ	3
#define UBD_IRQ			4
#define UM_ETH_IRQ		5
#define SSL_IRQ			6
#define SSL_WRITE_IRQ		7
#define ACCEPT_IRQ		8
#define MCONSOLE_IRQ		9
#define WINCH_IRQ		10
#define SIGIO_WRITE_IRQ 	11
#define TELNETD_IRQ 		12
#define XTERM_IRQ 		13
J
Jeff Dike 已提交
19
#define RANDOM_IRQ 		14
L
Linus Torvalds 已提交
20

21 22 23 24 25
#ifdef CONFIG_UML_NET_VECTOR

#define VECTOR_BASE_IRQ		15
#define VECTOR_IRQ_SPACE	8

26
#define LAST_IRQ (VECTOR_IRQ_SPACE + VECTOR_BASE_IRQ - 1)
27 28 29

#else

J
Jeff Dike 已提交
30
#define LAST_IRQ RANDOM_IRQ
31 32 33

#endif

L
Linus Torvalds 已提交
34 35 36
#define NR_IRQS (LAST_IRQ + 1)

#endif
新手
引导
客服 返回
顶部