Changeset 2a832d8 in rtems


Ignore:
Timestamp:
Mar 31, 2004, 3:47:26 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
3f71ac1
Parents:
dac4208
Message:

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

  • console/console.c, include/bsp.h, irq/irq.c, network/network.c, startup/bspstart.c: Convert to using c99 fixed size types.
Location:
c/src/lib/libbsp/powerpc/mpc8260ads
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog

    rdac4208 r2a832d8  
     12004-03-31      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * console/console.c, include/bsp.h, irq/irq.c, network/network.c,
     4        startup/bspstart.c: Convert to using c99 fixed size types.
     5
    162004-03-03      Joel Sherrill <joel@OARcorp.com>
    27
  • c/src/lib/libbsp/powerpc/mpc8260ads/console/console.c

    rdac4208 r2a832d8  
    140140
    141141  while( (c = BSP_READ(minor)) == -1 );
    142   rw_args->buffer[0] = (unsigned8)c;
     142  rw_args->buffer[0] = (uint8_t)c;
    143143  if( rw_args->buffer[0] == '\r' )
    144144      rw_args->buffer[0] = '\n';
     
    176176{
    177177  rtems_libio_rw_args_t *rw_args = arg;
    178   unsigned32 i;
     178  uint32_t  i;
    179179  char cr ='\r';
    180180
  • c/src/lib/libbsp/powerpc/mpc8260ads/include/bsp.h

    rdac4208 r2a832d8  
    4040
    4141{
    42     rtems_unsigned32  bcsr0; /* Board Control and Status Register */
    43     rtems_unsigned32  bcsr1;
    44     rtems_unsigned32  bcsr2;
    45     rtems_unsigned32  bcsr3;
     42    uint32_t          bcsr0; /* Board Control and Status Register */
     43    uint32_t          bcsr1;
     44    uint32_t          bcsr2;
     45    uint32_t          bcsr3;
    4646
    4747} BCSR;
     
    140140
    141141#if 0
    142 void M8260ExecuteRISC( rtems_unsigned32 command );
     142void M8260ExecuteRISC( uint32_t        command );
    143143void *M8260AllocateBufferDescriptors( int count );
    144144void *M8260AllocateRiscTimers( int count );
  • c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq.c

    rdac4208 r2a832d8  
    6161
    6262typedef struct {
    63         rtems_unsigned32 mask_h;        /* mask for sipnr_h and simr_h */
    64         rtems_unsigned32 mask_l;        /* mask for sipnr_l and simr_l */
    65         rtems_unsigned32 priority_h;  /* mask this and lower priority ints */
    66         rtems_unsigned32 priority_l;
     63        uint32_t        mask_h;        /* mask for sipnr_h and simr_h */
     64        uint32_t        mask_l;        /* mask for sipnr_l and simr_l */
     65        uint32_t        priority_h;  /* mask this and lower priority ints */
     66        uint32_t        priority_l;
    6767} m82xxIrqMasks_t;
    6868
  • c/src/lib/libbsp/powerpc/mpc8260ads/network/network.c

    rdac4208 r2a832d8  
    391391m8260Enet_retire_tx_bd (struct m8260_hdlc_struct *sc)
    392392{
    393   rtems_unsigned16 status;
     393  uint16_t        status;
    394394  int i;
    395395  int nRetired;
     
    449449  struct ifnet *ifp = &sc->ac_if;
    450450  struct mbuf *m;
    451   rtems_unsigned16 status;
     451  uint16_t        status;
    452452  m8260BufferDescriptor_t *rxBd;
    453453  int rxBdIndex;
     
    542542
    543543      /* strip off HDLC CRC */
    544       m->m_len = m->m_pkthdr.len = rxBd->length - sizeof(rtems_unsigned16);
     544      m->m_len = m->m_pkthdr.len = rxBd->length - sizeof(uint16_t);
    545545
    546546      hdlc_input( ifp, m );
     
    600600  volatile m8260BufferDescriptor_t *firstTxBd, *txBd;
    601601  struct mbuf *l = NULL;
    602   rtems_unsigned16 status;
     602  uint16_t        status;
    603603  int nAdded;
    604604 
  • c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c

    rdac4208 r2a832d8  
    8181 */
    8282void bsp_postdriver_hook(void);
    83 void bsp_libc_init( void *, unsigned32, int );
     83void bsp_libc_init( void *, uint32_t, int );
    8484
    8585void  _BSP_GPLED1_on(void);
     
    329329  /* use BRG1 to generate 32kHz timebase */
    330330/*
    331   m8260.brgc1 = M8260_BRG_EN + (unsigned32)(((unsigned16)((40016384)/(32768)) - 1) << 1) + 0;
     331  m8260.brgc1 = M8260_BRG_EN + (uint32_t)(((uint16_t)((40016384)/(32768)) - 1) << 1) + 0;
    332332*/
    333333
     
    364364 */
    365365Thread _Thread_Idle_body(
    366   unsigned32 ignored )
     366  uint32_t  ignored )
    367367{
    368368
Note: See TracChangeset for help on using the changeset viewer.