Changeset 1d5c975 in rtems


Ignore:
Timestamp:
03/31/04 04:21:06 (20 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
35eb7632
Parents:
945ace0d
Message:

2004-03-31 Ralf Corsepius <ralf_corsepius@…>

  • clock/ckinit.c, console/concntl.h, console/console.c, include/bsp.h, startup/bspstart.c, timer/timer.c: Convert to using c99 fixed size types.
Location:
c/src/lib/libbsp/i960/rxgen960
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i960/rxgen960/ChangeLog

    r945ace0d r1d5c975  
     12004-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
    172004-02-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    28
  • c/src/lib/libbsp/i960/rxgen960/clock/ckinit.c

    r945ace0d r1d5c975  
    2626#define CLOCK_VECTOR 0x92
    2727
    28 rtems_unsigned32 Clock_isrs;              /* ISRs until next tick */
    29 rtems_unsigned32 Reload_Clock_isrs;
     28uint32_t        Clock_isrs;              /* ISRs until next tick */
     29uint32_t        Reload_Clock_isrs;
    3030
    3131i960_isr_entry   Old_ticker;
    32 volatile rtems_unsigned32 Clock_driver_ticks;
     32volatile uint32_t        Clock_driver_ticks;
    3333                                          /* ticks since initialization */
    3434unsigned int clock_isr_global[16];  /* place to store global regs */
     
    125125)
    126126{
    127     rtems_unsigned32 isrlevel;
     127    uint32_t        isrlevel;
    128128    rtems_libio_ioctl_args_t *args = pargp;
    129129 
  • c/src/lib/libbsp/i960/rxgen960/console/concntl.h

    r945ace0d r1d5c975  
    1313{
    1414        console_ioctl_t ioctl_type;
    15    unsigned32 param;
     15   uint32_t  param;
    1616} console_ioctl_request_t;
  • c/src/lib/libbsp/i960/rxgen960/console/console.c

    r945ace0d r1d5c975  
    4040  rtems_status_code status;
    4141 
    42      if ( console_pmr_init(*(unsigned32*)arg) )
     42     if ( console_pmr_init(*(uint32_t*)arg) )
    4343        return RTEMS_INVALID_NUMBER;
    4444
     
    159159{
    160160  rtems_libio_rw_args_t *rw_args;
    161   unsigned8 *buffer;
    162   unsigned32 maximum;
    163   unsigned32 count = 0;
     161  uint8_t  *buffer;
     162  uint32_t  maximum;
     163  uint32_t  count = 0;
    164164 
    165165  rw_args = (rtems_libio_rw_args_t *) arg;
     
    204204  int maximum;
    205205  rtems_libio_rw_args_t *rw_args;
    206   unsigned8 *buffer;
     206  uint8_t  *buffer;
    207207
    208208  rw_args = (rtems_libio_rw_args_t *) arg;
  • c/src/lib/libbsp/i960/rxgen960/include/bsp.h

    r945ace0d r1d5c975  
    7272
    7373#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 */ \
    7676    asm volatile( "0: \
    7777                     remo      3,31,%0 ; \
  • c/src/lib/libbsp/i960/rxgen960/startup/bspstart.c

    r945ace0d r1d5c975  
    6868
    6969    extern int end;
    70     rtems_unsigned32        heap_start;
     70    uint32_t                heap_start;
    7171
    7272*(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;
    7575    if (heap_start & (CPU_ALIGNMENT-1))
    7676        heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
     
    9292{
    9393    extern int end;
    94     top_of_used_memory = (rtems_unsigned32) &end + 0x1000;
     94    top_of_used_memory = (uint32_t) &end + 0x1000;
    9595  if ((argc > 0) && argv && argv[0])
    9696    rtems_progname = argv[0];
  • c/src/lib/libbsp/i960/rxgen960/timer/timer.c

    r945ace0d r1d5c975  
    9696  volatile unsigned int *tcr1 = (unsigned int *) TCR1_ADDR;
    9797  volatile unsigned int *trr1 = (unsigned int *) TRR1_ADDR;
    98   rtems_unsigned32 remaining, total;
     98  uint32_t        remaining, total;
    9999
    100100  /* this routine is supposed to count in 1/2 uSec units */
Note: See TracChangeset for help on using the changeset viewer.