25 #ifndef LIBBSP_M68K_MVME147_BSP_H 26 #define LIBBSP_M68K_MVME147_BSP_H 49 #define RAM_START 0x00005000 50 #define RAM_END 0x00400000 57 uint32_t dma_table_address;
58 uint32_t dma_data_address;
59 uint32_t dma_bytecount;
60 uint32_t dma_data_holding;
63 uint16_t timer1_preload;
64 uint16_t timer1_count;
65 uint16_t timer2_preload;
66 uint16_t timer2_count;
69 uint8_t timer1_int_control;
70 uint8_t timer1_control;
71 uint8_t timer2_int_control;
72 uint8_t timer2_control;
74 uint8_t acfail_int_control;
75 uint8_t watchdog_control;
77 uint8_t printer_int_control;
78 uint8_t printer_control;
80 uint8_t dma_int_control;
82 uint8_t bus_error_int_control;
84 uint8_t abort_int_control;
85 uint8_t table_address_function_code;
86 uint8_t serial_port_int_control;
87 uint8_t general_purpose_control;
88 uint8_t lan_int_control;
89 uint8_t general_purpose_status;
90 uint8_t scsi_port_int_control;
91 uint8_t slave_base_address;
92 uint8_t software_int_1_control;
93 uint8_t int_base_vector;
94 uint8_t software_int_2_control;
95 uint8_t revision_level;
98 #define pcc ((volatile struct pcc_map * const) 0xfffe1000) 100 #define z8530 0xfffe3001 103 #define PCC_BASE_VECTOR 0x40 104 #define SCC_VECTOR PCC_BASE_VECTOR+3 105 #define TIMER_1_VECTOR PCC_BASE_VECTOR+8 106 #define TIMER_2_VECTOR PCC_BASE_VECTOR+9 107 #define SOFT_1_VECTOR PCC_BASE_VECTOR+10 108 #define SOFT_2_VECTOR PCC_BASE_VECTOR+11 110 #define USE_CHANNEL_A 1 111 #define USE_CHANNEL_B 0 113 #if (USE_CHANNEL_A == 1) 114 #define CONSOLE_CONTROL 0xfffe3002 115 #define CONSOLE_DATA 0xfffe3003 116 #elif (USE_CHANNEL_B == 1) 117 #define CONSOLE_CONTROL 0xfffe3000 118 #define CONSOLE_DATA 0xfffe3001 121 extern rtems_isr_entry M68Kvec[];
126 rtems_isr_entry handler,
rtems_isr_entry set_vector(rtems_isr_entry handler, rtems_vector_number vector, int type)
Install an interrupt handler.
Definition: setvec.c:28
DEFAULT_INITIAL_EXTENSION Support.
ISR_Vector_number rtems_vector_number
Control block type used to manage the vectors.
Definition: intr.h:47