Ignore:
Timestamp:
Mar 31, 2004, 4:38:23 AM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
629e12a
Parents:
2a7e204
Message:

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

  • clock/ckinit.c, console/console.c, include/bsp.h, spurious/spinit.c, startup/bspstart.c, startup/vmeintr.c, timer/timer.c: Convert to using c99 fixed size types.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/dmv152/timer/timer.c

    r2a7e204 r0f458a3  
    2929void Timer_initialize()
    3030{
    31   rtems_unsigned8 data;
     31  uint8_t        data;
    3232
    3333  (void) set_vector( timerisr, TIMER_VECTOR, 0 );  /* install ISR */
     
    5555   */
    5656
    57   data = (*(rtems_unsigned8 *)0x0D00000B);
    58   (*(rtems_unsigned8 *)0x0D00000B) = (data & 0x0F) | 0x60;
     57  data = (*(uint8_t*)0x0D00000B);
     58  (*(uint8_t*)0x0D00000B) = (data & 0x0F) | 0x60;
    5959
    6060}
     
    6666int Read_timer()
    6767{
    68   rtems_unsigned8 data;
    69   rtems_unsigned8  msb, lsb;
    70   rtems_unsigned32 remaining, total;
     68  uint8_t        data;
     69  uint8_t          msb, lsb;
     70  uint32_t        remaining, total;
    7171
    7272  Z8x36_WRITE( TIMER, CT1_CMD_STATUS,  0xce ); /* read the counter value */
Note: See TracChangeset for help on using the changeset viewer.