Go to the documentation of this file.
11 #ifndef _ASM_SN_SN0_IP27_H
12 #define _ASM_SN_SN0_IP27_H
20 #define TLBLO_HWBITSHIFT 0
24 #define CAUSE_BERRINTR IE_IRQ5
26 #define ECCF_CACHE_ERR 0
29 #define ECCF_ERROREPC 3
31 #define ECCF_SIZE (5 * sizeof(long))
42 #define KL_GET_CPUNUM(proc) \
43 dli proc, LOCAL_HUB(0); \
44 ld proc, PI_CPU_NUM(proc)
51 #define SRB_SWTIMO IE_SW0
52 #define SRB_NET IE_SW1
53 #define SRB_DEV0 IE_IRQ0
54 #define SRB_DEV1 IE_IRQ1
55 #define SRB_TIMOCLK IE_IRQ2
56 #define SRB_PROFCLK IE_IRQ3
57 #define SRB_ERR IE_IRQ4
58 #define SRB_SCHEDCLK IE_IRQ5
60 #define SR_IBIT_HI SRB_DEV0
61 #define SR_IBIT_PROF SRB_PROFCLK
63 #define SRB_SWTIMO_IDX 0
65 #define SRB_DEV0_IDX 2
66 #define SRB_DEV1_IDX 3
67 #define SRB_TIMOCLK_IDX 4
68 #define SRB_PROFCLK_IDX 5
70 #define SRB_SCHEDCLK_IDX 7
72 #define NUM_CAUSE_INTRS 8
74 #define SCACHE_LINESIZE 128
75 #define SCACHE_LINEMASK (SCACHE_LINESIZE - 1)
77 #include <asm/sn/addrs.h>
79 #define LED_CYCLE_MASK 0x0f
80 #define LED_CYCLE_SHFT 4
82 #define SEND_NMI(_nasid, _slice) \
83 REMOTE_HUB_S((_nasid), (PI_NMI_A + ((_slice) * PI_NMI_OFFSET)), 1)