|
RTEMS 6.1-rc5
|
Loading...
Searching...
No Matches
57#ifndef _DISCOVERY_GT64260INTR_H
58#define _DISCOVERY_GT64260INTR_H
60#define BIT(n) (1<<(n))
66#define ICR_260_MIC_LO 0xc18
67#define ICR_260_MIC_HI 0xc68
68#define ICR_260_CIM_LO 0xc1c
69#define ICR_260_CIM_HI 0xc6c
70#define ICR_260_CSC 0xc70
71#define ICR_260_P0IM_LO 0xc24
72#define ICR_260_P0IM_HI 0xc64
73#define ICR_260_P0SC 0xc74
74#define ICR_260_P1IM_LO 0xca4
75#define ICR_260_P1IM_HI 0xce4
76#define ICR_260_P1SC 0xcf4
77#define ICR_260_CI0M 0xe60
78#define ICR_260_CI1M 0xe64
79#define ICR_260_CI2M 0xe68
80#define ICR_260_CI3M 0xe6c
85#define ICR_360_MIC_LO 0x004
86#define ICR_360_MIC_HI 0x00c
87#define ICR_360_C0IM_LO 0x014
88#define ICR_360_C0IM_HI 0x01c
89#define ICR_360_C0SC 0x024
90#define ICR_360_C1IM_LO 0x034
91#define ICR_360_C1IM_HI 0x03c
92#define ICR_360_C1SC 0x044
93#define ICR_360_I0M_LO 0x014
94#define ICR_360_I0M_HI 0x01c
95#define ICR_360_I0SC 0x024
96#define ICR_360_I1M_LO 0x034
97#define ICR_360_I1M_HI 0x03c
98#define ICR_360_C1SC 0x044
155#define IRQ_TIME4_5 10
156#define IRQ_TIME6_7 11
166#define IRQ_PCI0OUT_LO 21
167#define IRQ_PCI0OUT_HI 22
168#define IRQ_PCI1OUT_LO 23
169#define IRQ_PCI1OUT_HI 24
170#define IRQ_PCI0IN_LO 26
171#define IRQ_PCI0IN_HI 27
172#define IRQ_PCI1IN_LO 28
173#define IRQ_PCI1IN_HI 29
174#define IRQ_ETH0 (32+0)
175#define IRQ_ETH1 (32+1)
176#define IRQ_ETH2 (32+2)
177#define IRQ_SDMA (32+4)
178#define IRQ_I2C (32+5)
179#define IRQ_BRG (32+7)
180#define IRQ_MPSC0 (32+8)
181#define IRQ_MPSC1 (32+10)
182#define IRQ_COMM (32+11)
183#define IRQ_GPP7_0 (32+24)
184#define IRQ_GPP15_8 (32+25)
185#define IRQ_GPP23_16 (32+26)
186#define IRQ_GPP31_24 (32+27)
191#define IML_SUM BIT(0)
192#define IML_DEV BIT(IRQ_DEV)
193#define IML_DMA BIT(IRQ_DMA)
194#define IML_CPU BIT(IRQ_CPU)
195#define IML_IDMA0_1 BIT(IRQ_IDMA0_1)
196#define IML_IDMA2_3 BIT(IRQ_IDMA2_3)
197#define IML_IDMA4_5 BIT(IRQ_IDMA4_5)
198#define IML_IDMA6_7 BIT(IRQ_IDMA6_7)
199#define IML_TIME0_1 BIT(IRQ_TIME0_1)
200#define IML_TIME2_3 BIT(IRQ_TIME2_3)
201#define IML_TIME4_5 BIT(IRQ_TIME4_5)
202#define IML_TIME6_7 BIT(IRQ_TIME6_7)
203#define IML_PCI0_0 BIT(IRQ_PCI0_0)
204#define IML_PCI0_1 BIT(IRQ_PCI0_1)
205#define IML_PCI0_2 BIT(IRQ_PCI0_2)
206#define IML_PCI0_3 BIT(IRQ_PCI0_3)
207#define IML_PCI1_0 BIT(IRQ_PCI1_0)
208#define IML_ECC BIT(IRQ_ECC)
209#define IML_PCI1_1 BIT(IRQ_PCI1_1)
210#define IML_PCI1_2 BIT(IRQ_PCI1_2)
211#define IML_PCI1_3 BIT(IRQ_PCI1_3)
212#define IML_PCI0OUT_LO BIT(IRQ_PCI0OUT_LO)
213#define IML_PCI0OUT_HI BIT(IRQ_PCI0OUT_HI)
214#define IML_PCI1OUT_LO BIT(IRQ_PCI1OUT_LO)
215#define IML_PCI1OUT_HI BIT(IRQ_PCI1OUT_HI)
216#define IML_PCI0IN_LO BIT(IRQ_PCI0IN_LO)
217#define IML_PCI0IN_HI BIT(IRQ_PCI0IN_HI)
218#define IML_PCI1IN_LO BIT(IRQ_PCI1IN_LO)
219#define IML_PCI1IN_HI BIT(IRQ_PCI1IN_HI)
220#define IML_RES (BIT(25)|BIT(30)|BIT(31))
225#define IMH_ETH0 BIT(IRQ_ETH0-32)
226#define IMH_ETH1 BIT(IRQ_ETH1-32)
227#define IMH_ETH2 BIT(IRQ_ETH2-32)
228#define IMH_SDMA BIT(IRQ_SDMA-32)
229#define IMH_I2C BIT(IRQ_I2C-32)
230#define IMH_BRG BIT(IRQ_BRG-32)
231#define IMH_MPSC0 BIT(IRQ_MPSC0-32)
232#define IMH_MPSC1 BIT(IRQ_MPSC1-32)
233#define IMH_COMM BIT(IRQ_COMM-32)
234#define IMH_GPP7_0 BIT(IRQ_GPP7_0-32)
235#define IMH_GPP15_8 BIT(IRQ_GPP15_8-32)
236#define IMH_GPP23_16 BIT(IRQ_GPP23_16-32)
237#define IMH_GPP31_24 BIT(IRQ_GPP31_24-32)
238#define IMH_GPP_SUM (IMH_GPP7_0|IMH_GPP15_8|IMH_GPP23_16|IMH_GPP31_24)
239#define IMH_RES (BIT(3) |BIT(6) |BIT(9) |BIT(12)|BIT(13)|BIT(14) \
240 |BIT(15)|BIT(16)|BIT(17)|BIT(18)|BIT(19)|BIT(20) \
241 |BIT(21)|BIT(22)|BIT(23)|BIT(28)|BIT(29)|BIT(30) \
247#define CSC_SEL BIT(30)
248#define CSC_STAT BIT(31)
249#define CSC_CAUSE ~(CSC_SEL|CSC_STAT)
255#define CPUINT_SEL 0x80000000