Changeset 1d5c975 in rtems
- Timestamp:
- 03/31/04 04:21:06 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 35eb7632
- Parents:
- 945ace0d
- Location:
- c/src/lib/libbsp/i960/rxgen960
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/i960/rxgen960/ChangeLog
r945ace0d r1d5c975 1 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * clock/ckinit.c, console/concntl.h, console/console.c, 4 include/bsp.h, startup/bspstart.c, timer/timer.c: Convert to using 5 c99 fixed size types. 6 1 7 2004-02-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 8 -
c/src/lib/libbsp/i960/rxgen960/clock/ckinit.c
r945ace0d r1d5c975 26 26 #define CLOCK_VECTOR 0x92 27 27 28 rtems_unsigned32Clock_isrs; /* ISRs until next tick */29 rtems_unsigned32Reload_Clock_isrs;28 uint32_t Clock_isrs; /* ISRs until next tick */ 29 uint32_t Reload_Clock_isrs; 30 30 31 31 i960_isr_entry Old_ticker; 32 volatile rtems_unsigned32Clock_driver_ticks;32 volatile uint32_t Clock_driver_ticks; 33 33 /* ticks since initialization */ 34 34 unsigned int clock_isr_global[16]; /* place to store global regs */ … … 125 125 ) 126 126 { 127 rtems_unsigned32isrlevel;127 uint32_t isrlevel; 128 128 rtems_libio_ioctl_args_t *args = pargp; 129 129 -
c/src/lib/libbsp/i960/rxgen960/console/concntl.h
r945ace0d r1d5c975 13 13 { 14 14 console_ioctl_t ioctl_type; 15 u nsigned32param;15 uint32_t param; 16 16 } console_ioctl_request_t; -
c/src/lib/libbsp/i960/rxgen960/console/console.c
r945ace0d r1d5c975 40 40 rtems_status_code status; 41 41 42 if ( console_pmr_init(*(u nsigned32*)arg) )42 if ( console_pmr_init(*(uint32_t*)arg) ) 43 43 return RTEMS_INVALID_NUMBER; 44 44 … … 159 159 { 160 160 rtems_libio_rw_args_t *rw_args; 161 u nsigned8*buffer;162 u nsigned32maximum;163 u nsigned32count = 0;161 uint8_t *buffer; 162 uint32_t maximum; 163 uint32_t count = 0; 164 164 165 165 rw_args = (rtems_libio_rw_args_t *) arg; … … 204 204 int maximum; 205 205 rtems_libio_rw_args_t *rw_args; 206 u nsigned8*buffer;206 uint8_t *buffer; 207 207 208 208 rw_args = (rtems_libio_rw_args_t *) arg; -
c/src/lib/libbsp/i960/rxgen960/include/bsp.h
r945ace0d r1d5c975 72 72 73 73 #define rtems_bsp_delay( microseconds ) \ 74 { register rtems_unsigned32_delay=(microseconds); \75 register rtems_unsigned32_tmp = 0; /* initialized to avoid warning */ \74 { register uint32_t _delay=(microseconds); \ 75 register uint32_t _tmp = 0; /* initialized to avoid warning */ \ 76 76 asm volatile( "0: \ 77 77 remo 3,31,%0 ; \ -
c/src/lib/libbsp/i960/rxgen960/startup/bspstart.c
r945ace0d r1d5c975 68 68 69 69 extern int end; 70 rtems_unsigned32heap_start;70 uint32_t heap_start; 71 71 72 72 *(unsigned char *)(0x120f) = 0xd; 73 /* heap_start = ( rtems_unsigned32) &end; */74 heap_start = ( rtems_unsigned32) top_of_used_memory;73 /* heap_start = (uint32_t) &end; */ 74 heap_start = (uint32_t) top_of_used_memory; 75 75 if (heap_start & (CPU_ALIGNMENT-1)) 76 76 heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1); … … 92 92 { 93 93 extern int end; 94 top_of_used_memory = ( rtems_unsigned32) &end + 0x1000;94 top_of_used_memory = (uint32_t) &end + 0x1000; 95 95 if ((argc > 0) && argv && argv[0]) 96 96 rtems_progname = argv[0]; -
c/src/lib/libbsp/i960/rxgen960/timer/timer.c
r945ace0d r1d5c975 96 96 volatile unsigned int *tcr1 = (unsigned int *) TCR1_ADDR; 97 97 volatile unsigned int *trr1 = (unsigned int *) TRR1_ADDR; 98 rtems_unsigned32remaining, total;98 uint32_t remaining, total; 99 99 100 100 /* this routine is supposed to count in 1/2 uSec units */
Note: See TracChangeset
for help on using the changeset viewer.