21 #ifndef LIBBSP_M68K_MVME167_BSP_H 22 #define LIBBSP_M68K_MVME167_BSP_H 56 unsigned char chip_id;
57 unsigned char chip_revision;
58 unsigned char gen_control;
59 unsigned char vector_base;
60 unsigned long timer_cmp_1;
61 unsigned long timer_cnt_1;
62 unsigned long timer_cmp_2;
63 unsigned long timer_cnt_2;
64 unsigned char LSB_prescaler_count;
65 unsigned char prescaler_clock_adjust;
66 unsigned char timer_ctl_2;
67 unsigned char timer_ctl_1;
68 unsigned char gpi_int_ctl;
69 unsigned char gpio_ctl;
70 unsigned char timer_int_ctl_2;
71 unsigned char timer_int_ctl_1;
72 unsigned char SCC_error;
73 unsigned char SCC_modem_int_ctl;
74 unsigned char SCC_tx_int_ctl;
75 unsigned char SCC_rx_int_ctl;
76 unsigned char reserved1[3];
77 unsigned char modem_piack;
78 unsigned char reserved2;
79 unsigned char tx_piack;
80 unsigned char reserved3;
81 unsigned char rx_piack;
82 unsigned char LANC_error;
83 unsigned char reserved4;
84 unsigned char LANC_int_ctl;
85 unsigned char LANC_berr_ctl;
86 unsigned char SCSI_error;
87 unsigned char reserved5[2];
88 unsigned char SCSI_int_ctl;
89 unsigned char print_ack_int_ctl;
90 unsigned char print_fault_int_ctl;
91 unsigned char print_sel_int_ctl;
92 unsigned char print_pe_int_ctl;
93 unsigned char print_busy_int_ctl;
94 unsigned char reserved6;
95 unsigned char print_input_status;
96 unsigned char print_ctl;
97 unsigned char chip_speed;
98 unsigned char reserved7;
99 unsigned char print_data;
100 unsigned char reserved8[3];
101 unsigned char int_level;
102 unsigned char int_mask;
109 #define pccchip2 ((pccchip2_regs * const) 0xFFF42000) 118 unsigned char chip_id;
119 unsigned char reserved1[3];
120 unsigned char chip_revision;
121 unsigned char reserved2[3];
122 unsigned char mem_config;
123 unsigned char reserved3[3];
124 unsigned char alt_status;
125 unsigned char reserved4[3];
126 unsigned char alt_ctl;
127 unsigned char reserved5[3];
128 unsigned char base_addr;
129 unsigned char reserved6[3];
130 unsigned char ram_ctl;
131 unsigned char reserved7[3];
132 unsigned char bus_clk;
139 #define memc040_1 ((memc040_regs * const) 0xFFF43000) 140 #define memc040_2 ((memc040_regs * const) 0xFFF43100) 157 unsigned char reserved1[7];
159 unsigned char reserved2;
161 unsigned char reserved3[6];
171 unsigned char dmabsts;
188 unsigned char reserved4[2];
201 unsigned char reserved5[2];
219 unsigned char reserved6[2];
221 unsigned char reserved7;
223 unsigned char reserved8[7];
224 unsigned short tcbadru;
225 unsigned short tcbadrl;
226 unsigned short rcbadru;
227 unsigned short rcbadrl;
228 unsigned short arbadru;
229 unsigned short arbardl;
230 unsigned short brbadru;
231 unsigned short brbadrl;
232 unsigned short brbcnt;
233 unsigned short arbcnt;
234 unsigned short reserved9;
235 unsigned char brbsts;
236 unsigned char arbsts;
237 unsigned short atbadru;
238 unsigned short atbadrl;
239 unsigned short btbadru;
240 unsigned short btbadrl;
241 unsigned short btbcnt;
242 unsigned short atbcnt;
243 unsigned short reserved10;
244 unsigned char btbsts;
245 unsigned char atbsts;
246 unsigned char reserved11[32];
249 unsigned char reserved12[2];
264 unsigned char reserved13[2];
265 unsigned char bercnt;
266 unsigned char reserved14[49];
268 unsigned char reserved15[2];
270 unsigned char reserved16[4];
272 unsigned char reserved17[2];
274 unsigned char reserved18[10];
276 unsigned char reserved19[3];
278 unsigned char reserved20[3];
279 unsigned char msvr_rts;
280 unsigned char msvr_dtr;
285 unsigned char reserved21[8];
290 unsigned char reserved22[6];
292 unsigned char reserved23;
300 #define cd2401 ((cd2401_regs * const) 0xFFF45000) 303 #define CD2401_CLK_RATE 20000000 308 rtems_isr_entry handler,
318 #define EXTERN extern 321 extern void *M68Kvec[];
rtems_isr_entry set_vector(rtems_isr_entry handler, rtems_vector_number vector, int type)
Install an interrupt handler.
Definition: setvec.c:28
void sync(void)
Definition: sync.c:85
DEFAULT_INITIAL_EXTENSION Support.
ISR_Vector_number rtems_vector_number
Control block type used to manage the vectors.
Definition: intr.h:47
unsigned w
Definition: tlb.h:226
Interface to Kernel Print Methods.
Definition: mvme16x_hw.h:128