Ignore:
Timestamp:
Mar 31, 2004, 4:38:23 AM (16 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/include/bsp.h

    r2a7e204 r0f458a3  
    7070  { \
    7171    set_vector( (handler), 0x50, 1 );  \
    72     (*(volatile rtems_unsigned32 *)0x0d800024) = 0x50; /* set IVECT reg */ \
    73     (*(volatile rtems_unsigned8  *)0x0d00000c) = 0x40; /* set VIE reg */ \
     72    (*(volatile uint32_t*)0x0d800024) = 0x50; /* set IVECT reg */ \
     73    (*(volatile uint8_t*)0x0d00000c) = 0x40; /* set VIE reg */ \
    7474  }
    7575
    7676#define Cause_tm27_intr()  \
    77   (*(volatile rtems_unsigned8 *)0x0d000003) = 0x0f  /* set VINT */
     77  (*(volatile uint8_t*)0x0d000003) = 0x0f  /* set VINT */
    7878
    7979#define Clear_tm27_intr()  /* no operation necessary */
     
    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 ; \
     
    122122#define ACC_BASE    0x0D000000
    123123
    124 #define ACC_STAT0   ((volatile rtems_unsigned8 *) (ACC_BASE + 0x00))
    125 #define ACC_STAT1   ((volatile rtems_unsigned8 *) (ACC_BASE + 0x01))
    126 #define ACC_GENCTL  ((volatile rtems_unsigned8 *) (ACC_BASE + 0x02))
    127 #define ACC_VINT    ((volatile rtems_unsigned8 *) (ACC_BASE + 0x03))
    128 #define ACC_VREQ    ((volatile rtems_unsigned8 *) (ACC_BASE + 0x04))
    129 #define ACC_VARB    ((volatile rtems_unsigned8 *) (ACC_BASE + 0x05))
    130 #define ACC_ID      ((volatile rtems_unsigned8 *) (ACC_BASE + 0x06))
    131 #define ACC_CTL2    ((volatile rtems_unsigned8 *) (ACC_BASE + 0x07))
    132 #define ACC_7IS     ((volatile rtems_unsigned8 *) (ACC_BASE + 0x08))
    133 #define ACC_LIS     ((volatile rtems_unsigned8 *) (ACC_BASE + 0x09))
    134 #define ACC_7IE     ((volatile rtems_unsigned8 *) (ACC_BASE + 0x0A))
    135 #define ACC_LIE     ((volatile rtems_unsigned8 *) (ACC_BASE + 0x0B))
    136 #define ACC_VIE     ((volatile rtems_unsigned8 *) (ACC_BASE + 0x0C))
    137 #define ACC_IC10    ((volatile rtems_unsigned8 *) (ACC_BASE + 0x0D))
    138 #define ACC_IC32    ((volatile rtems_unsigned8 *) (ACC_BASE + 0x0E))
    139 #define ACC_IC54    ((volatile rtems_unsigned8 *) (ACC_BASE + 0x0F))
     124#define ACC_STAT0   ((volatile uint8_t*) (ACC_BASE + 0x00))
     125#define ACC_STAT1   ((volatile uint8_t*) (ACC_BASE + 0x01))
     126#define ACC_GENCTL  ((volatile uint8_t*) (ACC_BASE + 0x02))
     127#define ACC_VINT    ((volatile uint8_t*) (ACC_BASE + 0x03))
     128#define ACC_VREQ    ((volatile uint8_t*) (ACC_BASE + 0x04))
     129#define ACC_VARB    ((volatile uint8_t*) (ACC_BASE + 0x05))
     130#define ACC_ID      ((volatile uint8_t*) (ACC_BASE + 0x06))
     131#define ACC_CTL2    ((volatile uint8_t*) (ACC_BASE + 0x07))
     132#define ACC_7IS     ((volatile uint8_t*) (ACC_BASE + 0x08))
     133#define ACC_LIS     ((volatile uint8_t*) (ACC_BASE + 0x09))
     134#define ACC_7IE     ((volatile uint8_t*) (ACC_BASE + 0x0A))
     135#define ACC_LIE     ((volatile uint8_t*) (ACC_BASE + 0x0B))
     136#define ACC_VIE     ((volatile uint8_t*) (ACC_BASE + 0x0C))
     137#define ACC_IC10    ((volatile uint8_t*) (ACC_BASE + 0x0D))
     138#define ACC_IC32    ((volatile uint8_t*) (ACC_BASE + 0x0E))
     139#define ACC_IC54    ((volatile uint8_t*) (ACC_BASE + 0x0F))
    140140
    141141/* constants */
Note: See TracChangeset for help on using the changeset viewer.