dec_kn03.h Source File
Back to the index.
Go to the documentation of this file.
81 #define KN03_PHYS_MIN 0x00000000
82 #define KN03_PHYS_MAX 0x1fffffff
87 #define KN03_PHYS_MEMORY_START 0x00000000
88 #define KN03_PHYS_MEMORY_END 0x1dffffff
93 #define KN03_PHYS_TC_0_START 0x1e000000
94 #define KN03_PHYS_TC_0_END 0x1e7fffff
96 #define KN03_PHYS_TC_1_START 0x1e800000
97 #define KN03_PHYS_TC_1_END 0x1effffff
99 #define KN03_PHYS_TC_2_START 0x1f000000
100 #define KN03_PHYS_TC_2_END 0x1f7fffff
102 #define KN03_PHYS_TC_3_START 0x1f800000
103 #define KN03_PHYS_TC_3_END 0x1fffffff
105 #define KN03_PHYS_TC_START KN03_PHYS_TC_0_START
106 #define KN03_PHYS_TC_END KN03_PHYS_TC_3_END
108 #define KN03_TC_NSLOTS 4
109 #define KN03_TC_MIN 0
110 #define KN03_TC_MAX 2
115 #define KN03_SYS_ASIC ( KN03_PHYS_TC_3_START + 0x0000000 )
116 #define KN03_SYS_ROM_START ( KN03_SYS_ASIC + IOASIC_SLOT_0_START )
117 #define KN03_SYS_ASIC_REGS ( KN03_SYS_ASIC + IOASIC_SLOT_1_START )
118 #define KN03_SYS_ETHER_ADDRESS ( KN03_SYS_ASIC + IOASIC_SLOT_2_START )
119 #define KN03_SYS_LANCE ( KN03_SYS_ASIC + IOASIC_SLOT_3_START )
120 #define KN03_SYS_SCC_0 ( KN03_SYS_ASIC + IOASIC_SLOT_4_START )
121 #define KN03_SYS_SCC_1 ( KN03_SYS_ASIC + IOASIC_SLOT_6_START )
122 #define KN03_SYS_CLOCK ( KN03_SYS_ASIC + IOASIC_SLOT_8_START )
123 #define KN03_SYS_ERRADR ( KN03_SYS_ASIC + IOASIC_SLOT_9_START )
124 #define KN03_SYS_ERRSYN ( KN03_SYS_ASIC + IOASIC_SLOT_10_START )
125 #define KN03_SYS_CSR ( KN03_SYS_ASIC + IOASIC_SLOT_11_START )
126 #define KN03_SYS_SCSI ( KN03_SYS_ASIC + IOASIC_SLOT_12_START )
127 #define KN03_SYS_SCSI_DMA ( KN03_SYS_ASIC + IOASIC_SLOT_14_START )
128 #define KN03_SYS_BOOT_ROM_START ( KN03_PHYS_TC_3_START + 0x400000 )
129 #define KN03_SYS_BOOT_ROM_END ( KN03_PHYS_TC_3_START + 0x43ffff )
134 #define KN03_INT_FPA IP_LEV7
135 #define KN03_INT_HALTB IP_LEV6
136 #define KN03_INT_MEM IP_LEV5
137 #define KN03_INT_RTC IP_LEV3
138 #define KN03_INT_ASIC IP_LEV2
140 #define KN03_REG_SCSI_DMAPTR ( KN03_SYS_ASIC + IOASIC_SCSI_DMAPTR )
141 #define KN03_REG_SCSI_DMANPTR ( KN03_SYS_ASIC + IOASIC_SCSI_NEXTPTR )
142 #define KN03_REG_LANCE_DMAPTR ( KN03_SYS_ASIC + IOASIC_LANCE_DMAPTR )
143 #define KN03_REG_SCC_T1_DMAPTR ( KN03_SYS_ASIC + IOASIC_SCC_T1_DMAPTR )
144 #define KN03_REG_SCC_R1_DMAPTR ( KN03_SYS_ASIC + IOASIC_SCC_R1_DMAPTR )
145 #define KN03_REG_SCC_T2_DMAPTR ( KN03_SYS_ASIC + IOASIC_SCC_T2_DMAPTR )
146 #define KN03_REG_SCC_R2_DMAPTR ( KN03_SYS_ASIC + IOASIC_SCC_R2_DMAPTR )
147 #define KN03_REG_CSR ( KN03_SYS_ASIC + IOASIC_CSR )
148 #define KN03_REG_INTR ( KN03_SYS_ASIC + IOASIC_INTR )
149 #define KN03_REG_IMSK ( KN03_SYS_ASIC + IOASIC_IMSK )
150 #define KN03_REG_CURADDR ( KN03_SYS_ASIC + IOASIC_CURADDR )
152 #define KN03_REG_LANCE_DECODE ( KN03_SYS_ASIC + IOASIC_LANCE_DECODE )
153 #define KN03_REG_SCSI_DECODE ( KN03_SYS_ASIC + IOASIC_SCSI_DECODE )
154 #define KN03_REG_SCC0_DECODE ( KN03_SYS_ASIC + IOASIC_SCC0_DECODE )
155 #define KN03_REG_SCC1_DECODE ( KN03_SYS_ASIC + IOASIC_SCC1_DECODE )
156 # define KN03_LANCE_CONFIG 3
157 # define KN03_SCSI_CONFIG 14
158 # define KN03_SCC0_CONFIG (0x10|4)
159 # define KN03_SCC1_CONFIG (0x10|6)
161 #define KN03_REG_SCSI_SCR ( KN03_SYS_ASIC + IOASIC_SCSI_SCR )
162 #define KN03_REG_SCSI_SDR0 ( KN03_SYS_ASIC + IOASIC_SCSI_SDR0 )
163 #define KN03_REG_SCSI_SDR1 ( KN03_SYS_ASIC + IOASIC_SCSI_SDR1 )
182 #define KN03_CSR_LEDS 0x000000ff
183 #define KN03_CSR_BNK32M 0x00000400
184 #define KN03_CSR_CORRECT 0x00002000
185 #define KN03_CSR_ECCMD 0x0000c000
189 #define KN03_INTR_PBNO 0x00000001
190 #define KN03_INTR_PBNC 0x00000002
191 #define KN03_INTR_SCSI_FIFO 0x00000004
192 #define KN03_INTR_PSWARN 0x00000010
193 #define KN03_INTR_CLOCK 0x00000020
194 #define KN03_INTR_SCC_0 0x00000040
195 #define KN03_INTR_SCC_1 0x00000080
196 #define KN03_INTR_LANCE 0x00000100
197 #define KN03_INTR_SCSI 0x00000200
198 #define KN03_INTR_NRMOD_JUMPER 0x00000400
199 #define KN03_INTR_TC_0 0x00000800
200 #define KN03_INTR_TC_1 0x00001000
201 #define KN03_INTR_TC_2 0x00002000
202 #define KN03_INTR_NVR_JUMPER 0x00004000
203 #define KN03_INTR_PROD_JUMPER 0x00008000
205 #define KN03_INTR_ASIC 0xff0f0004
206 #define KN03_IM0 0xff0f3bf0
211 #define KN03_ERR_ADDRESS 0x07ffffff
212 #define KN03_ERR_RESERVED 0x08000000
213 #define KN03_ERR_ECCERR 0x10000000
214 #define KN03_ERR_WRITE 0x20000000
215 #define KN03_ERR_CPU 0x40000000
216 #define KN03_ERR_VALID 0x80000000
219 #define KN03_ECC_SYNLO 0x0000007f
220 #define KN03_ECC_SNGLO 0x00000080
221 #define KN03_ECC_CHKLO 0x00007f00
222 #define KN03_ECC_VLDLO 0x00008000
223 #define KN03_ECC_SYNHI 0x007f0000
224 #define KN03_ECC_SNGHI 0x00800000
225 #define KN03_ECC_CHKHI 0x7f000000
226 #define KN03_ECC_VLDHI 0x80000000
Generated on Tue Aug 25 2020 19:25:06 for GXemul by
1.8.18