Changeset 94993c0 in rtems


Ignore:
Timestamp:
03/31/04 04:12:01 (20 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d1c60fb
Parents:
bde7f268
Message:

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

  • clock/clockdrv.c, include/bsp.h, startup/bspstart.c, startup/gdb-support.c, timer/timer.c: Convert to using c99 fixed size types.
Location:
c/src/lib/libbsp/mips/genmongoosev
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/mips/genmongoosev/ChangeLog

    rbde7f268 r94993c0  
     12004-03-31      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * clock/clockdrv.c, include/bsp.h, startup/bspstart.c,
     4        startup/gdb-support.c, timer/timer.c: Convert to using c99 fixed
     5        size types.
     6
    172004-02-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    28
  • c/src/lib/libbsp/mips/genmongoosev/clock/clockdrv.c

    rbde7f268 r94993c0  
    4343#define Clock_driver_support_initialize_hardware() \
    4444   do { \
    45     unsigned32 _clicks = CPU_CLOCK_RATE_MHZ * rtems_configuration_get_microseconds_per_tick(); \
     45    uint32_t  _clicks = CPU_CLOCK_RATE_MHZ * rtems_configuration_get_microseconds_per_tick(); \
    4646    MONGOOSEV_WRITE_REGISTER( CLOCK_BASE, MONGOOSEV_TIMER_INITIAL_COUNTER_REGISTER, _clicks ); \
    4747    Clock_driver_support_at_tick(); \
  • c/src/lib/libbsp/mips/genmongoosev/include/bsp.h

    rbde7f268 r94993c0  
    5151 *  */
    5252
    53 extern void assertSoftwareInterrupt(unsigned32);
     53extern void assertSoftwareInterrupt(uint32_t);
    5454
    5555
  • c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c

    rbde7f268 r94993c0  
    4747
    4848void bsp_postdriver_hook(void);
    49 void bsp_libc_init( void *, unsigned32, int );
     49void bsp_libc_init( void *, uint32_t, int );
    5050
    5151/*
     
    7070    unsigned long heapSize = (unsigned long)&HeapSize;
    7171
    72     bsp_libc_init(heapStart, (unsigned32) heapSize, 0);
     72    bsp_libc_init(heapStart, (uint32_t) heapSize, 0);
    7373
    7474#ifdef RTEMS_DEBUG
     
    179179
    180180
    181 extern unsigned32 _RamSize;
     181extern uint32_t  _RamSize;
    182182
    183183void get_mem_info ( struct s_mem *mem )
    184184{
    185    mem->size = (unsigned32)&_RamSize;
     185   mem->size = (uint32_t)&_RamSize;
    186186   mem->icsize = MONGOOSEV_IC_SIZE;
    187187   mem->dcsize = MONGOOSEV_DC_SIZE;
  • c/src/lib/libbsp/mips/genmongoosev/startup/gdb-support.c

    rbde7f268 r94993c0  
    134134   {
    135135      * initialize hardware pc and data breakpoints to quiet state*
    136       unsigned32 dcic, reg, mask;
     136      uint32_t  dcic, reg, mask;
    137137
    138138      reg = 0xffffffff;
  • c/src/lib/libbsp/mips/genmongoosev/timer/timer.c

    rbde7f268 r94993c0  
    5959int Read_timer()
    6060{
    61   rtems_unsigned32  clicks;
    62   rtems_unsigned32  total;
    63   rtems_unsigned32  tcr;
     61  uint32_t          clicks;
     62  uint32_t          total;
     63  uint32_t          tcr;
    6464
    6565  clicks = MONGOOSEV_READ_REGISTER( TIMER_BASE,
Note: See TracChangeset for help on using the changeset viewer.