Changeset 24282451 in rtems
- Timestamp:
- 03/31/04 04:40:15 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 6cfc0a4
- Parents:
- a4318d0c
- Location:
- c/src/lib/libbsp/m68k/mvme147
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/m68k/mvme147/ChangeLog
ra4318d0c r24282451 1 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * clock/ckinit.c, console/console.c, include/bsp.h, 4 startup/bspstart.c, timer/timer.c: Convert to using c99 fixed size 5 types. 6 1 7 2004-02-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 8 -
c/src/lib/libbsp/m68k/mvme147/clock/ckinit.c
ra4318d0c r24282451 31 31 #define CLOCK_INT_LEVEL 6 /* T2's interrupt level */ 32 32 33 rtems_unsigned32Clock_isrs; /* ISRs until next tick */34 volatile rtems_unsigned32Clock_driver_ticks; /* ticks since initialization */33 uint32_t Clock_isrs; /* ISRs until next tick */ 34 volatile uint32_t Clock_driver_ticks; /* ticks since initialization */ 35 35 rtems_isr_entry Old_ticker; 36 36 … … 109 109 ) 110 110 { 111 rtems_unsigned32isrlevel;111 uint32_t isrlevel; 112 112 rtems_libio_ioctl_args_t *args = pargp; 113 113 -
c/src/lib/libbsp/m68k/mvme147/console/console.c
ra4318d0c r24282451 71 71 ) 72 72 { 73 rtems_unsigned8rr_0;73 uint8_t rr_0; 74 74 75 75 for ( ; ; ) { … … 97 97 char inbyte( void ) 98 98 { 99 rtems_unsigned8rr_0;99 uint8_t rr_0; 100 100 char ch; 101 101 … … 125 125 ) 126 126 { 127 rtems_unsigned8rr_0;127 uint8_t rr_0; 128 128 char flow_control; 129 129 -
c/src/lib/libbsp/m68k/mvme147/include/bsp.h
ra4318d0c r24282451 50 50 struct pcc_map { 51 51 /* 32 bit registers */ 52 rtems_unsigned32dma_table_address; /* 0xfffe1000 */53 rtems_unsigned32dma_data_address; /* 0xfffe1004 */54 rtems_unsigned32dma_bytecount; /* 0xfffe1008 */55 rtems_unsigned32dma_data_holding; /* 0xfffe100c */52 uint32_t dma_table_address; /* 0xfffe1000 */ 53 uint32_t dma_data_address; /* 0xfffe1004 */ 54 uint32_t dma_bytecount; /* 0xfffe1008 */ 55 uint32_t dma_data_holding; /* 0xfffe100c */ 56 56 57 57 /* 16 bit registers */ 58 rtems_unsigned16timer1_preload; /* 0xfffe1010 */59 rtems_unsigned16timer1_count; /* 0xfffe1012 */60 rtems_unsigned16timer2_preload; /* 0xfffe1014 */61 rtems_unsigned16timer2_count; /* 0xfffe1016 */58 uint16_t timer1_preload; /* 0xfffe1010 */ 59 uint16_t timer1_count; /* 0xfffe1012 */ 60 uint16_t timer2_preload; /* 0xfffe1014 */ 61 uint16_t timer2_count; /* 0xfffe1016 */ 62 62 63 63 /* 8 bit registers */ 64 rtems_unsigned8timer1_int_control; /* 0xfffe1018 */65 rtems_unsigned8timer1_control; /* 0xfffe1019 */66 rtems_unsigned8timer2_int_control; /* 0xfffe101a */67 rtems_unsigned8timer2_control; /* 0xfffe101b */64 uint8_t timer1_int_control; /* 0xfffe1018 */ 65 uint8_t timer1_control; /* 0xfffe1019 */ 66 uint8_t timer2_int_control; /* 0xfffe101a */ 67 uint8_t timer2_control; /* 0xfffe101b */ 68 68 69 rtems_unsigned8acfail_int_control; /* 0xfffe101c */70 rtems_unsigned8watchdog_control; /* 0xfffe101d */69 uint8_t acfail_int_control; /* 0xfffe101c */ 70 uint8_t watchdog_control; /* 0xfffe101d */ 71 71 72 rtems_unsigned8printer_int_control; /* 0xfffe101e */73 rtems_unsigned8printer_control; /* 0xfffe102f */72 uint8_t printer_int_control; /* 0xfffe101e */ 73 uint8_t printer_control; /* 0xfffe102f */ 74 74 75 rtems_unsigned8dma_int_control; /* 0xfffe1020 */76 rtems_unsigned8dma_control; /* 0xfffe1021 */77 rtems_unsigned8bus_error_int_control; /* 0xfffe1022 */78 rtems_unsigned8dma_status; /* 0xfffe1023 */79 rtems_unsigned8abort_int_control; /* 0xfffe1024 */80 rtems_unsigned8table_address_function_code; /* 0xfffe1025 */81 rtems_unsigned8serial_port_int_control; /* 0xfffe1026 */82 rtems_unsigned8general_purpose_control; /* 0xfffe1027 */83 rtems_unsigned8lan_int_control; /* 0xfffe1028 */84 rtems_unsigned8general_purpose_status; /* 0xfffe1029 */85 rtems_unsigned8scsi_port_int_control; /* 0xfffe102a */86 rtems_unsigned8slave_base_address; /* 0xfffe102b */87 rtems_unsigned8software_int_1_control; /* 0xfffe102c */88 rtems_unsigned8int_base_vector; /* 0xfffe102d */89 rtems_unsigned8software_int_2_control; /* 0xfffe102e */90 rtems_unsigned8revision_level; /* 0xfffe102f */75 uint8_t dma_int_control; /* 0xfffe1020 */ 76 uint8_t dma_control; /* 0xfffe1021 */ 77 uint8_t bus_error_int_control; /* 0xfffe1022 */ 78 uint8_t dma_status; /* 0xfffe1023 */ 79 uint8_t abort_int_control; /* 0xfffe1024 */ 80 uint8_t table_address_function_code; /* 0xfffe1025 */ 81 uint8_t serial_port_int_control; /* 0xfffe1026 */ 82 uint8_t general_purpose_control; /* 0xfffe1027 */ 83 uint8_t lan_int_control; /* 0xfffe1028 */ 84 uint8_t general_purpose_status; /* 0xfffe1029 */ 85 uint8_t scsi_port_int_control; /* 0xfffe102a */ 86 uint8_t slave_base_address; /* 0xfffe102b */ 87 uint8_t software_int_1_control; /* 0xfffe102c */ 88 uint8_t int_base_vector; /* 0xfffe102d */ 89 uint8_t software_int_2_control; /* 0xfffe102e */ 90 uint8_t revision_level; /* 0xfffe102f */ 91 91 }; 92 92 -
c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c
ra4318d0c r24282451 42 42 43 43 void bsp_postdriver_hook(void); 44 void bsp_libc_init( void *, u nsigned32, int );44 void bsp_libc_init( void *, uint32_t, int ); 45 45 void bsp_pretasking_hook(void); /* m68k version */ 46 46 … … 76 76 pcc->int_base_vector = PCC_BASE_VECTOR; /* Set the PCC int vectors base */ 77 77 78 (*( rtems_unsigned8*)0xfffe2001) = 0x08;78 (*(uint8_t*)0xfffe2001) = 0x08; 79 79 /* make VME access round-robin */ 80 80 -
c/src/lib/libbsp/m68k/mvme147/timer/timer.c
ra4318d0c r24282451 59 59 int Read_timer() 60 60 { 61 rtems_unsigned32total;62 rtems_unsigned16counter_value;61 uint32_t total; 62 uint16_t counter_value; 63 63 64 64 counter_value = pcc->timer1_count; /* read the counter value */
Note: See TracChangeset
for help on using the changeset viewer.