Changeset bd97803 in rtems


Ignore:
Timestamp:
03/31/04 05:18:03 (20 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e7d03cbc
Parents:
1be1e913
Message:

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

  • clock/ckinit.c, console/console.c, console/debugputs.c, include/bsp.h, include/leon.h, startup/setvec.c, startup/spurious.c, timer/timer.c: Convert to using c99 fixed size types.
Location:
c/src/lib/libbsp/sparc/leon
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/leon/ChangeLog

    r1be1e913 rbd97803  
     12004-03-31      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * clock/ckinit.c, console/console.c, console/debugputs.c,
     4        include/bsp.h, include/leon.h, startup/setvec.c, startup/spurious.c,
     5        timer/timer.c: Convert to using c99 fixed size types.
     6
    172004-02-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    28
  • c/src/lib/libbsp/sparc/leon/clock/ckinit.c

    r1be1e913 rbd97803  
    3939 */
    4040
    41 volatile rtems_unsigned32 Clock_driver_ticks;
     41volatile uint32_t        Clock_driver_ticks;
    4242
    4343/*
     
    4848 */
    4949
    50 extern rtems_unsigned32 CPU_SPARC_CLICKS_PER_TICK;
     50extern uint32_t        CPU_SPARC_CLICKS_PER_TICK;
    5151
    5252rtems_isr_entry  Old_ticker;
     
    223223)
    224224{
    225     rtems_unsigned32 isrlevel;
     225    uint32_t        isrlevel;
    226226    rtems_libio_ioctl_args_t *args = pargp;
    227227 
  • c/src/lib/libbsp/sparc/leon/console/console.c

    r1be1e913 rbd97803  
    108108    if ( !Ring_buffer_Is_empty( &TX_Buffer[ 0 ] ) ) {
    109109      Ring_buffer_Remove_character( &TX_Buffer[ 0 ], ch );
    110       LEON_REG.UART_Channel_1 = (unsigned32) ch;
     110      LEON_REG.UART_Channel_1 = (uint32_t) ch;
    111111    } else
    112112     Is_TX_active[ 0 ] = FALSE;
     
    148148    if ( !Ring_buffer_Is_empty( &TX_Buffer[ 1 ] ) ) {
    149149      Ring_buffer_Remove_character( &TX_Buffer[ 1 ], ch );
    150       LEON_REG.UART_Channel_2 = (unsigned32) ch;
     150      LEON_REG.UART_Channel_2 = (uint32_t) ch;
    151151    } else
    152152     Is_TX_active[ 1 ] = FALSE;
     
    171171void console_exit()
    172172{
    173   rtems_unsigned32 port;
    174   rtems_unsigned32 ch;
     173  uint32_t        port;
     174  uint32_t        ch;
    175175
    176176  /*
     
    225225
    226226#ifdef RDB_BREAK_IN
    227   extern unsigned32 trap_table[];
     227  extern uint32_t  trap_table[];
    228228#endif
    229229
  • c/src/lib/libbsp/sparc/leon/console/debugputs.c

    r1be1e913 rbd97803  
    9797{
    9898  char *s;
    99   unsigned32 old_level;
     99  uint32_t  old_level;
    100100
    101101  LEON_Disable_interrupt( LEON_INTERRUPT_UART_1_RX_TX, old_level );
  • c/src/lib/libbsp/sparc/leon/include/bsp.h

    r1be1e913 rbd97803  
    132132 */
    133133
    134 extern void Clock_delay(rtems_unsigned32 microseconds);
     134extern void Clock_delay(uint32_t        microseconds);
    135135
    136136#define delay( microseconds ) Clock_delay(microseconds)
  • c/src/lib/libbsp/sparc/leon/include/leon.h

    r1be1e913 rbd97803  
    299299#define LEON_Mask_interrupt( _source ) \
    300300  do { \
    301     unsigned32 _level; \
     301    uint32_t  _level; \
    302302    \
    303303    _level = sparc_disable_interrupts(); \
     
    308308#define LEON_Unmask_interrupt( _source ) \
    309309  do { \
    310     unsigned32 _level; \
     310    uint32_t  _level; \
    311311    \
    312312    _level = sparc_disable_interrupts(); \
     
    317317#define LEON_Disable_interrupt( _source, _previous ) \
    318318  do { \
    319     unsigned32 _level; \
    320     unsigned32 _mask = 1 << (_source); \
     319    uint32_t  _level; \
     320    uint32_t  _mask = 1 << (_source); \
    321321    \
    322322    _level = sparc_disable_interrupts(); \
     
    329329#define LEON_Restore_interrupt( _source, _previous ) \
    330330  do { \
    331     unsigned32 _level; \
    332     unsigned32 _mask = 1 << (_source); \
     331    uint32_t  _level; \
     332    uint32_t  _mask = 1 << (_source); \
    333333    \
    334334    _level = sparc_disable_interrupts(); \
  • c/src/lib/libbsp/sparc/leon/startup/setvec.c

    r1be1e913 rbd97803  
    4040{
    4141  rtems_isr_entry previous_isr;
    42   unsigned32      real_trap;
    43   unsigned32      source;
     42  uint32_t        real_trap;
     43  uint32_t        source;
    4444
    4545  if ( type )
  • c/src/lib/libbsp/sparc/leon/startup/spurious.c

    r1be1e913 rbd97803  
    2424/* Simple integer-to-string conversion */
    2525
    26 void itos(unsigned32 u, char *s)
     26void itos(uint32_t  u, char *s)
    2727{
    2828  int i;
     
    4545{
    4646  char line[ 80 ];
    47   rtems_unsigned32 real_trap;
     47  uint32_t        real_trap;
    4848
    4949  real_trap = SPARC_REAL_TRAP_NUMBER(trap);
     
    144144void bsp_spurious_initialize()
    145145{
    146   rtems_unsigned32 trap;
    147   unsigned32 level;
    148   unsigned32 mask;
     146  uint32_t        trap;
     147  uint32_t  level;
     148  uint32_t  mask;
    149149
    150150  level = sparc_disable_interrupts();
  • c/src/lib/libbsp/sparc/leon/timer/timer.c

    r1be1e913 rbd97803  
    5656int Read_timer()
    5757{
    58   rtems_unsigned32  total;
     58  uint32_t          total;
    5959
    6060  total = LEON_REG.Timer_Counter_2;
Note: See TracChangeset for help on using the changeset viewer.