Changeset 2d971fc in rtems for c/src/lib/libbsp/m68k


Ignore:
Timestamp:
Mar 31, 2004, 4:41:20 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
3e1fc109
Parents:
f3238bb3
Message:

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

  • include/bsp.h, network/network.c, startup/bspstart.c, startup/init68360.c, timer/timer.c: Convert to using c99 fixed size types.
Location:
c/src/lib/libbsp/m68k/gen68360
Files:
6 edited

Legend:

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

    rf3238bb3 r2d971fc  
     12004-03-31      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * include/bsp.h, network/network.c, startup/bspstart.c,
     4        startup/init68360.c, timer/timer.c: Convert to using c99 fixed size
     5        types.
     6
    172004-02-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    28
  • c/src/lib/libbsp/m68k/gen68360/include/bsp.h

    rf3238bb3 r2d971fc  
    8787
    8888#define rtems_bsp_delay( microseconds ) \
    89   { register rtems_unsigned32 _delay=(microseconds); \
    90     register rtems_unsigned32 _tmp=123; \
     89  { register uint32_t        _delay=(microseconds); \
     90    register uint32_t        _tmp=123; \
    9191    asm volatile( "0: \
    9292                     nbcd      %0 ; \
     
    123123void bsp_cleanup( void );
    124124
    125 void M360ExecuteRISC( rtems_unsigned16 command );
     125void M360ExecuteRISC( uint16_t        command );
    126126void *M360AllocateBufferDescriptors( int count );
    127127void *M360AllocateRiscTimers( int count );
  • c/src/lib/libbsp/m68k/gen68360/network/network.c

    rf3238bb3 r2d971fc  
    344344m360Enet_retire_tx_bd (struct scc_softc *sc)
    345345{
    346         rtems_unsigned16 status;
     346        uint16_t        status;
    347347        int i;
    348348        int nRetired;
     
    443443        struct ifnet *ifp = &sc->arpcom.ac_if;
    444444        struct mbuf *m;
    445         rtems_unsigned16 status;
     445        uint16_t        status;
    446446        volatile m360BufferDescriptor_t *rxBd;
    447447        int rxBdIndex;
     
    526526                        m = sc->rxMbuf[rxBdIndex];
    527527                        m->m_len = m->m_pkthdr.len = rxBd->length -
    528                                                 sizeof(rtems_unsigned32) -
     528                                                sizeof(uint32_t) -
    529529                                                sizeof(struct ether_header);
    530530                        eh = mtod (m, struct ether_header *);
     
    582582        volatile m360BufferDescriptor_t *firstTxBd, *txBd;
    583583        struct mbuf *l = NULL;
    584         rtems_unsigned16 status;
     584        uint16_t        status;
    585585        int nAdded;
    586586
  • c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c

    rf3238bb3 r2d971fc  
    4040 
    4141void bsp_postdriver_hook(void);
    42 void bsp_libc_init( void *, unsigned32, int );
     42void bsp_libc_init( void *, uint32_t, int );
    4343void bsp_pretasking_hook(void);               /* m68k version */
    4444
  • c/src/lib/libbsp/m68k/gen68360/startup/init68360.c

    rf3238bb3 r2d971fc  
    1919 */
    2020
    21 void M360ExecuteRISC(rtems_unsigned16 command)
     21void M360ExecuteRISC(uint16_t        command)
    2222{
    23         rtems_unsigned16 sr;
     23        uint16_t        sr;
    2424
    2525        m68k_disable_interrupts (sr);
  • c/src/lib/libbsp/m68k/gen68360/timer/timer.c

    rf3238bb3 r2d971fc  
    7676Read_timer (void)
    7777{
    78         return *(rtems_unsigned32 *)&m360.tcn1;
     78        return *(uint32_t*)&m360.tcn1;
    7979}
    8080
Note: See TracChangeset for help on using the changeset viewer.