Changeset d1c60fb in rtems


Ignore:
Timestamp:
Mar 31, 2004, 4:12:24 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
654c115c
Parents:
94993c0
Message:

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

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

Legend:

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

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

    r94993c0 rd1c60fb  
    2424#define Clock_driver_support_install_isr( _new, _old ) \
    2525  do { \
    26     unsigned32 _clicks = CLICKS; \
     26    uint32_t  _clicks = CLICKS; \
    2727    _old = set_vector( _new, CLOCK_VECTOR, 1 ); \
    2828    TX3904_TIMER_WRITE( TX3904_TIMER0_BASE, TX3904_TIMER_CCDR, 0x3 ); \
     
    3131    TX3904_TIMER_WRITE( TX3904_TIMER0_BASE, TX3904_TIMER_ITMR, 0x8001 ); \
    3232    TX3904_TIMER_WRITE( TX3904_TIMER0_BASE, TX3904_TIMER_TCR,   0xC0 ); \
    33     *((volatile unsigned32 *) 0xFFFFC01C) = 0x00000700; \
     33    *((volatile uint32_t*) 0xFFFFC01C) = 0x00000700; \
    3434  } while(0)
    3535
  • c/src/lib/libbsp/mips/jmr3904/include/bsp.h

    r94993c0 rd1c60fb  
    6767#define Cause_tm27_intr() \
    6868  do { \
    69     unsigned32 _clicks = 20; \
     69    uint32_t  _clicks = 20; \
    7070    TX3904_TIMER_WRITE( TX3904_TIMER0_BASE, TX3904_TIMER_CCDR, 0x3 ); \
    7171    TX3904_TIMER_WRITE( TX3904_TIMER0_BASE, TX3904_TIMER_CPRA, _clicks ); \
     
    7373    TX3904_TIMER_WRITE( TX3904_TIMER0_BASE, TX3904_TIMER_ITMR, 0x8001 ); \
    7474    TX3904_TIMER_WRITE( TX3904_TIMER0_BASE, TX3904_TIMER_TCR,   0xC0 ); \
    75     *((volatile unsigned32 *) 0xFFFFC01C) = 0x00000700; \
     75    *((volatile uint32_t*) 0xFFFFC01C) = 0x00000700; \
    7676  } while(0)
    7777
  • c/src/lib/libbsp/mips/jmr3904/startup/bspstart.c

    r94993c0 rd1c60fb  
    3939 
    4040void bsp_postdriver_hook(void);
    41 void bsp_libc_init( void *, unsigned32, int );
     41void bsp_libc_init( void *, uint32_t, int );
    4242
    4343/*
     
    6262    unsigned long heapSize = (unsigned long)&HeapSize;
    6363
    64     bsp_libc_init(heapStart, (unsigned32) heapSize, 0);
     64    bsp_libc_init(heapStart, (uint32_t) heapSize, 0);
    6565
    6666#ifdef RTEMS_DEBUG
  • c/src/lib/libbsp/mips/jmr3904/timer/timer.c

    r94993c0 rd1c60fb  
    4848int Read_timer()
    4949{
    50   rtems_unsigned32  total;
     50  uint32_t          total;
    5151
    5252  total = TX3904_TIMER_READ( TX3904_TIMER1_BASE, TX3904_TIMER_TRR );
Note: See TracChangeset for help on using the changeset viewer.