Changeset 1dff10f in rtems


Ignore:
Timestamp:
Oct 21, 2004, 1:15:54 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
15ebe58b
Parents:
86ad4860
Message:

2004-10-21 Ralf Corsepius <ralf_corsepius@…>

  • include/bsp.h, network/network.c, startup/bspstart.c, startup/init5272.c: Use POSIX fixed-size types.
Location:
c/src/lib/libbsp/m68k/csb360
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/csb360/ChangeLog

    r86ad4860 r1dff10f  
     12004-10-21      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * include/bsp.h, network/network.c, startup/bspstart.c,
     4        startup/init5272.c: Use POSIX fixed-size types.
     5
    162004-09-24      Ralf Corsepius <ralf_corsepius@rtems.org>
    27
  • c/src/lib/libbsp/m68k/csb360/include/bsp.h

    r86ad4860 r1dff10f  
    148148
    149149#define delay( microseconds ) \
    150   { register rtems_unsigned32 _delay=(microseconds); \
    151     register rtems_unsigned32 _tmp=123; \
     150  { register uint32_t _delay=(microseconds); \
     151    register uint32_t _tmp=123; \
    152152    asm volatile( "0: \
    153153                     nbcd      %0 ; \
  • c/src/lib/libbsp/m68k/csb360/network/network.c

    r86ad4860 r1dff10f  
    8585
    8686typedef struct {
    87     unsigned16 status;
    88     unsigned16 length;
     87    uint16_t status;
     88    uint16_t length;
    8989    void *buffer;
    9090} bd_t;
     
    232232    int i;
    233233    unsigned char *hwaddr;
    234     unsigned32 icr;
     234    uint32_t icr;
    235235    /*
    236236     * Issue reset to FEC
     
    363363mcf5272_enet_retire_tx_bd (struct mcf5272_enet_struct *sc)
    364364{
    365     rtems_unsigned16 status;
     365    uint16_t status;
    366366    int i;
    367367    int nRetired;
     
    434434    struct ifnet *ifp = &sc->arpcom.ac_if;
    435435    struct mbuf *m;
    436     rtems_unsigned16 status;
     436    uint16_t status;
    437437    bd_t *rxBd;
    438438    int rxBdIndex;
     
    508508            m = sc->rxMbuf[rxBdIndex];
    509509            m->m_len = m->m_pkthdr.len = (rxBd->length -
    510                                           sizeof(rtems_unsigned32) -
     510                                          sizeof(uint32_t) -
    511511                                          sizeof(struct ether_header));
    512512            eh = mtod (m, struct ether_header *);
     
    569569    volatile bd_t *firstTxBd, *txBd;
    570570    /*  struct mbuf *l = NULL; */
    571     rtems_unsigned16 status;
     571    uint16_t status;
    572572    int nAdded;
    573573    cp;
  • c/src/lib/libbsp/m68k/csb360/startup/bspstart.c

    r86ad4860 r1dff10f  
    5454 
    5555void bsp_postdriver_hook(void);
    56 void bsp_libc_init( void *, unsigned32, int );
     56void bsp_libc_init( void *, uint32_t, int );
    5757void bsp_pretasking_hook(void);               /* m68k version */
    5858
  • c/src/lib/libbsp/m68k/csb360/startup/init5272.c

    r86ad4860 r1dff10f  
    130130    {
    131131        extern void INTERRUPT_VECTOR();
    132         rtems_unsigned32 *inttab = (rtems_unsigned32 *)&INTERRUPT_VECTOR;
    133         rtems_unsigned32 *intvec = (rtems_unsigned32 *)BSP_RAMBAR;
     132        uint32_t *inttab = (uint32_t *)&INTERRUPT_VECTOR;
     133        uint32_t *intvec = (uint32_t *)BSP_RAMBAR;
    134134        register int i;
    135135        for (i = 0; i < 256; i++)
Note: See TracChangeset for help on using the changeset viewer.