Changeset f3238bb3 in rtems


Ignore:
Timestamp:
Mar 31, 2004, 4:41:01 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
2d971fc
Parents:
b7044dc
Message:

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

  • clock/ckinit.c, console/console.c, include/bsp.h, network/network.c, startup/bspstart.c, timer/timer.c: Convert to using c99 fixed size types.
Location:
c/src/lib/libbsp/m68k/gen68302
Files:
7 edited

Legend:

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

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

    rb7044dc rf3238bb3  
    3939 *  number of clock ticks since the driver was initialized.
    4040 */
    41 volatile rtems_unsigned32 Clock_driver_ticks;
     41volatile uint32_t        Clock_driver_ticks;
    4242
    4343/*
     
    4848 *  has passed.
    4949 */
    50 rtems_unsigned32 Clock_isrs;
     50uint32_t        Clock_isrs;
    5151
    5252void Clock_exit( void );
     
    129129)
    130130{
    131     rtems_unsigned32 isrlevel;
     131    uint32_t        isrlevel;
    132132    rtems_libio_ioctl_args_t *args = pargp;
    133133 
  • c/src/lib/libbsp/m68k/gen68302/console/console.c

    rb7044dc rf3238bb3  
    6666  p->scc2.bd.rx[0].length = 0x0000;
    6767  p->scc2.bd.rx[0].buffer =
    68       (rtems_unsigned8 *) &m302.scc2.bd.rx[1]; /* RxBD1 is Rx buffer */
     68      (uint8_t*) &m302.scc2.bd.rx[1]; /* RxBD1 is Rx buffer */
    6969
    7070  p->reg.scc[1].dsr = 0x7000;           /* set full-length last stop bit */
     
    7373  p->scc2.bd.tx[0].length = 0x0001;
    7474  p->scc2.bd.tx[0].buffer =
    75       (rtems_unsigned8 *) &m302.scc2.bd.tx[1]; /* TxBD1 is Tx buffer */
     75      (uint8_t*) &m302.scc2.bd.tx[1]; /* TxBD1 is Tx buffer */
    7676
    7777  p->reg.scc[1].scce = 0xFF;            /* clear all SCC event flags */
  • c/src/lib/libbsp/m68k/gen68302/include/bsp.h

    rb7044dc rf3238bb3  
    6969
    7070#define rtems_bsp_delay( microseconds ) \
    71   { register rtems_unsigned32 _delay=(microseconds); \
    72     register rtems_unsigned32 _tmp=123; \
     71  { register uint32_t        _delay=(microseconds); \
     72    register uint32_t        _tmp=123; \
    7373    asm volatile( "0: \
    7474                     nbcd      %0 ; \
  • c/src/lib/libbsp/m68k/gen68302/network/network.c

    rb7044dc rf3238bb3  
    288288{
    289289
    290         rtems_unsigned16 status;
     290        uint16_t        status;
    291291        int i;
    292292        int nRetired;
     
    389389        struct ifnet *ifp = &sc->arpcom.ac_if;
    390390        struct mbuf *m;
    391         rtems_unsigned16 status;
     391        uint16_t        status;
    392392        volatile struct m68302_scc_bd *rxBd;
    393393        int rxBdIndex;
     
    475475                        m = sc->rxMbuf[rxBdIndex];
    476476                        m->m_len = m->m_pkthdr.len = rxBd->data_lgth -
    477                                                 sizeof(rtems_unsigned32) -
     477                                                sizeof(uint32_t) -
    478478                                                sizeof(struct ether_header);
    479479                        eh = mtod (m, struct ether_header *);
     
    534534        volatile struct m68302_scc_bd *firstTxBd, *txBd;
    535535        struct mbuf *l = NULL;
    536         rtems_unsigned16 status;
     536        uint16_t        status;
    537537        int nAdded;
    538538       
  • c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c

    rb7044dc rf3238bb3  
    3838 
    3939void bsp_postdriver_hook(void);
    40 void bsp_libc_init( void *, unsigned32, int );
     40void bsp_libc_init( void *, uint32_t, int );
    4141void bsp_pretasking_hook(void);               /* m68k version */
    4242
  • c/src/lib/libbsp/m68k/gen68302/timer/timer.c

    rb7044dc rf3238bb3  
    4141                         */
    4242
    43 rtems_unsigned32 Timer_interrupts;
     43uint32_t        Timer_interrupts;
    4444
    4545rtems_boolean Timer_driver_Find_average_overhead;
     
    8080int Read_timer( void )
    8181{
    82   rtems_unsigned16 clicks;
    83   rtems_unsigned32 total;
     82  uint16_t        clicks;
     83  uint32_t        total;
    8484
    8585  /*
Note: See TracChangeset for help on using the changeset viewer.