FILE
irq.h
File preview with syntax highlighting.
linux-6.19.14/arch/um/include/asm/irq.h
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __UM_IRQ_H 3#define __UM_IRQ_H 4 5#define TIMER_IRQ 0 6#define UMN_IRQ 1 7#define UBD_IRQ 2 8#define UM_ETH_IRQ 3 9#define ACCEPT_IRQ 4 10#define MCONSOLE_IRQ 5 11#define WINCH_IRQ 6 12#define SIGIO_WRITE_IRQ 7 13#define TELNETD_IRQ 8 14#define XTERM_IRQ 9 15#define RANDOM_IRQ 10 16#define SIGCHLD_IRQ 11 17 18#ifdef CONFIG_UML_NET_VECTOR 19 20#define VECTOR_BASE_IRQ (SIGCHLD_IRQ + 1) 21#define VECTOR_IRQ_SPACE 8 22 23#define UM_FIRST_DYN_IRQ (VECTOR_IRQ_SPACE + VECTOR_BASE_IRQ) 24 25#else 26 27#define UM_FIRST_DYN_IRQ (SIGCHLD_IRQ + 1) 28 29#endif 30 31#define UM_LAST_SIGNAL_IRQ 64 32/* If we have (simulated) PCI MSI, allow 64 more interrupt numbers for it */ 33#ifdef CONFIG_PCI_MSI 34#define NR_IRQS (UM_LAST_SIGNAL_IRQ + 64) 35#else 36#define NR_IRQS UM_LAST_SIGNAL_IRQ 37#endif /* CONFIG_PCI_MSI */ 38 39#include <asm-generic/irq.h> 40#endif
~/
Read-only file preview.