Changeset 629e12a in rtems


Ignore:
Timestamp:
03/31/04 04:38:35 (20 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
a4318d0c
Parents:
0f458a3
Message:

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

  • clock/ckinit.c, startup/bspstart.c, timer/timer.c: Convert to using c99 fixed size types.
Location:
c/src/lib/libbsp/m68k
Files:
8 edited

Legend:

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

    r0f458a3 r629e12a  
     12004-03-31      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * clock/ckinit.c, startup/bspstart.c, timer/timer.c: Convert to
     4        using c99 fixed size types.
     5
    162004-02-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • c/src/lib/libbsp/m68k/idp/clock/ckinit.c

    r0f458a3 r629e12a  
    2929#include <rtems/libio.h>
    3030
    31 rtems_unsigned32 Clock_isrs;        /* ISRs until next tick */
    32 volatile rtems_unsigned32 Clock_driver_ticks;
     31uint32_t        Clock_isrs;        /* ISRs until next tick */
     32volatile uint32_t        Clock_driver_ticks;
    3333                                    /* ticks since initialization */
    3434rtems_isr_entry  Old_ticker;
     
    131131void Clock_exit( void )
    132132{
    133   rtems_unsigned8 data;
     133  uint8_t        data;
    134134
    135135  /* disable timer
     
    166166)
    167167{
    168     rtems_unsigned32 isrlevel;
     168    uint32_t        isrlevel;
    169169    rtems_libio_ioctl_args_t *args = pargp;
    170170 
  • c/src/lib/libbsp/m68k/idp/startup/bspstart.c

    r0f458a3 r629e12a  
    4545 
    4646void bsp_postdriver_hook(void);
    47 void bsp_libc_init( void *, unsigned32, int );
     47void bsp_libc_init( void *, uint32_t, int );
    4848void bsp_pretasking_hook(void);               /* m68k version */
    4949
  • c/src/lib/libbsp/m68k/idp/timer/timer.c

    r0f458a3 r629e12a  
    6868int Read_timer()
    6969{
    70   rtems_unsigned8 data;
    71   rtems_unsigned8  msb, osb, lsb;
    72   rtems_unsigned32 remaining, total;
     70  uint8_t        data;
     71  uint8_t          msb, osb, lsb;
     72  uint32_t        remaining, total;
    7373
    7474  /* Disable timer so that timer can be read
  • c/src/lib/libbsp/m68k/mvme162/ChangeLog

    r0f458a3 r629e12a  
     12004-03-31      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * clock/ckinit.c, startup/bspstart.c, timer/timer.c: Convert to
     4        using c99 fixed size types.
     5
    162004-02-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • c/src/lib/libbsp/m68k/mvme162/clock/ckinit.c

    r0f458a3 r629e12a  
    3333#define CLOCK_INT_LEVEL   6               /* T2's interrupt level */
    3434
    35 rtems_unsigned32 Clock_isrs;                  /* ISRs until next tick */
    36 volatile rtems_unsigned32 Clock_driver_ticks; /* ticks since initialization */
     35uint32_t        Clock_isrs;                  /* ISRs until next tick */
     36volatile uint32_t        Clock_driver_ticks; /* ticks since initialization */
    3737rtems_isr_entry  Old_ticker;
    3838
     
    115115)
    116116{
    117     rtems_unsigned32 isrlevel;
     117    uint32_t        isrlevel;
    118118    rtems_libio_ioctl_args_t *args = pargp;
    119119 
  • c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c

    r0f458a3 r629e12a  
    4646 
    4747void bsp_postdriver_hook(void);
    48 void bsp_libc_init( void *, unsigned32, int );
     48void bsp_libc_init( void *, uint32_t, int );
    4949void bsp_pretasking_hook(void);               /* m68k version */
    5050
  • c/src/lib/libbsp/m68k/mvme162/timer/timer.c

    r0f458a3 r629e12a  
    3838#define TIMER_INT_LEVEL       6
    3939
    40 rtems_unsigned32    Ttimer_val;
     40uint32_t            Ttimer_val;
    4141rtems_boolean       Timer_driver_Find_average_overhead;
    4242
     
    6666int Read_timer()
    6767{
    68   rtems_unsigned32    total;
     68  uint32_t            total;
    6969
    7070  total = (Ttimer_val * TICK_INTERVAL) + lcsr->timer_cnt_1;
Note: See TracChangeset for help on using the changeset viewer.