Go to the documentation of this file.
10 #include <linux/linkage.h>
11 #include <linux/kernel.h>
12 #include <linux/errno.h>
15 #include <asm/ptrace.h>
18 #define IMAP_VALID 0x80000000UL
19 #define IMAP_TID_UPA 0x7c000000UL
20 #define IMAP_TID_JBUS 0x7c000000UL
21 #define IMAP_TID_SHIFT 26
22 #define IMAP_AID_SAFARI 0x7c000000UL
23 #define IMAP_AID_SHIFT 26
24 #define IMAP_NID_SAFARI 0x03e00000UL
25 #define IMAP_NID_SHIFT 21
26 #define IMAP_IGN 0x000007c0UL
27 #define IMAP_INO 0x0000003fUL
28 #define IMAP_INR 0x000007ffUL
30 #define ICLR_IDLE 0x00000000UL
31 #define ICLR_TRANSMIT 0x00000001UL
32 #define ICLR_PENDING 0x00000003UL
43 void (*
func)(
unsigned int,
void *,
void *),
45 #define irq_canonicalize(irq) (irq)
46 extern unsigned int build_irq(
int inofixup,
unsigned long iclr,
unsigned long imap);
50 unsigned int msi_devino_start,
51 unsigned int msi_devino_end);
54 unsigned int msi_devino_start,
55 unsigned int msi_devino_end,
56 unsigned long imap_base,
57 unsigned long iclr_base);
63 extern void irq_free(
unsigned int irq);
69 static inline void set_softint(
unsigned long bits)
71 __asm__ __volatile__(
"wr %0, 0x0, %%set_softint"
76 static inline void clear_softint(
unsigned long bits)
78 __asm__ __volatile__(
"wr %0, 0x0, %%clear_softint"
83 static inline unsigned long get_softint(
void)
87 __asm__ __volatile__(
"rd %%softint, %0"
93 #define arch_trigger_all_cpu_backtrace arch_trigger_all_cpu_backtrace
97 #define __ARCH_HAS_DO_SOFTIRQ
99 #define NO_IRQ 0xffffffff