Changeset e96a950b in rtems


Ignore:
Timestamp:
Mar 31, 2004, 2:00:03 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
35f97010
Parents:
8bc4430b
Message:

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

  • sh7032/clock/ckinit.c, sh7032/delay/delay.c, sh7032/include/ispsh7032.h, sh7032/sci/sci.c, sh7032/score/cpu_asm.c, sh7032/timer/timer.c, sh7045/clock/ckinit.c, sh7045/include/ispsh7045.h, sh7045/sci/sci.c, sh7045/sci/sci_termios.c, sh7045/score/cpu_asm.c, sh7045/timer/timer.c, sh7750/clock/ckinit.c, sh7750/include/rtems/score/ispsh7750.h, sh7750/include/sh/sh4uart.h, sh7750/sci/sh4uart.c, sh7750/score/cpu_asm.c, sh7750/score/ispsh7750.c, sh7750/timer/timer.c: Convert to using c99 fixed size types.
Location:
c/src/lib/libcpu/sh
Files:
20 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/sh/ChangeLog

    r8bc4430b re96a950b  
     12004-03-30      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * sh7032/clock/ckinit.c, sh7032/delay/delay.c,
     4        sh7032/include/ispsh7032.h, sh7032/sci/sci.c,
     5        sh7032/score/cpu_asm.c, sh7032/timer/timer.c, sh7045/clock/ckinit.c,
     6        sh7045/include/ispsh7045.h, sh7045/sci/sci.c,
     7        sh7045/sci/sci_termios.c, sh7045/score/cpu_asm.c,
     8        sh7045/timer/timer.c, sh7750/clock/ckinit.c,
     9        sh7750/include/rtems/score/ispsh7750.h, sh7750/include/sh/sh4uart.h,
     10        sh7750/sci/sh4uart.c, sh7750/score/cpu_asm.c,
     11        sh7750/score/ispsh7750.c, sh7750/timer/timer.c: Convert to using c99
     12        fixed size types.
     13
    1142004-03-26      Ralf Corsepius <ralf_corsepius@rtems.org>
    215
  • c/src/lib/libcpu/sh/sh7032/clock/ckinit.c

    r8bc4430b re96a950b  
    104104  double fclicks_per_tick =
    105105    ((double) clicks_per_sec * (double) usec_per_tick) / 1000000.0 ;
    106   return (unsigned32) fclicks_per_tick ;
     106  return (uint32_t  ) fclicks_per_tick ;
    107107#endif
    108108}
     
    120120 */
    121121
    122 volatile rtems_unsigned32 Clock_driver_ticks;
     122volatile uint32_t  Clock_driver_ticks;
    123123
    124124static void Clock_exit( void );
     
    133133 */
    134134
    135 rtems_unsigned32 Clock_isrs;              /* ISRs until next tick */
    136 static rtems_unsigned32 Clock_isrs_const;        /* only calculated once */
     135uint32_t  Clock_isrs;              /* ISRs until next tick */
     136static uint32_t  Clock_isrs_const;        /* only calculated once */
    137137
    138138/*
     
    165165   * perform any timer dependent tasks
    166166   */
    167   unsigned8 temp;
     167  uint8_t  temp;
    168168
    169169  /* reset the flags of the status register */
     
    195195)
    196196{
    197   unsigned8 temp8 = 0;
    198   unsigned32 microseconds_per_tick ;
    199   unsigned32 cclicks_per_tick ;
    200   unsigned16 Clock_limit ;
     197  uint8_t  temp8 = 0;
     198  uint32_t  microseconds_per_tick ;
     199  uint32_t  cclicks_per_tick ;
     200  uint16_t  Clock_limit ;
    201201 
    202202  /*
     
    281281void Clock_exit( void )
    282282{
    283   unsigned8 temp8 = 0;
     283  uint8_t  temp8 = 0;
    284284
    285285  /* turn off the timer interrupts */
     
    330330)
    331331{
    332   rtems_unsigned32 isrlevel;
     332  uint32_t  isrlevel;
    333333  rtems_libio_ioctl_args_t *args = pargp;
    334334 
  • c/src/lib/libcpu/sh/sh7032/delay/delay.c

    r8bc4430b re96a950b  
    3737 */
    3838
    39 void CPU_delay( unsigned32 microseconds )
     39void CPU_delay( uint32_t  microseconds )
    4040{
    41   register unsigned32 clicks_per_usec =
     41  register uint32_t  clicks_per_usec =
    4242    rtems_cpu_configuration_get_clicks_per_second() / 1000000 ;
    43   register unsigned32 _delay =
     43  register uint32_t  _delay =
    4444    (microseconds) * (clicks_per_usec);
    4545  asm volatile (
  • c/src/lib/libcpu/sh/sh7032/include/ispsh7032.h

    r8bc4430b re96a950b  
    3232#include <rtems/score/types.h>
    3333
    34 extern void __ISR_Handler( unsigned32 vector );
     34extern void __ISR_Handler( uint32_t  vector );
    3535
    3636
  • c/src/lib/libcpu/sh/sh7032/sci/sci.c

    r8bc4430b re96a950b  
    4545struct scidev_t {
    4646  char *                        name ;
    47   unsigned32                    addr ;
     47  uint32_t                      addr ;
    4848  rtems_device_minor_number     minor ;
    4949  unsigned short                opened ;
     
    6666  tcflag_t      c_cflag )
    6767{
    68   unsigned8     smr ;
    69   unsigned8     brr ;
     68  uint8_t       smr ;
     69  uint8_t       brr ;
    7070 
    7171  if ( c_cflag & CBAUD )
     
    109109  rtems_device_minor_number minor )
    110110{
    111   unsigned16    temp16 ;
     111  uint16_t      temp16 ;
    112112
    113113  /* Pin function controller initialisation for asynchronous mode */ 
     
    147147{
    148148  struct scidev_t *scidev = &sci_device[minor] ;
    149   signed8         ssr ;
     149  int8_t           ssr ;
    150150               
    151151  while ( !inb((scidev->addr + SCI_SSR) & SCI_TDRE ))
     
    221221  void                    * arg )
    222222{
    223   unsigned8 temp8;
     223  uint8_t  temp8;
    224224 
    225225 /* check for valid minor number */
  • c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c

    r8bc4430b re96a950b  
    6969  unsigned int prio )
    7070{
    71   unsigned32 shiftcount;
    72   unsigned32 prioreg;
    73   unsigned16 temp16;
    74   unsigned32 level;
     71  uint32_t  shiftcount;
     72  uint32_t  prioreg;
     73  uint16_t  temp16;
     74  uint32_t  level;
    7575
    7676  /*
     
    256256 */
    257257 
    258 void __ISR_Handler( unsigned32 vector)
    259 {
    260   register unsigned32 level;
     258void __ISR_Handler( uint32_t  vector)
     259{
     260  register uint32_t  level;
    261261
    262262  _CPU_ISR_Disable( level );
  • c/src/lib/libcpu/sh/sh7032/timer/timer.c

    r8bc4430b re96a950b  
    6565rtems_isr timerisr();
    6666
    67 static rtems_unsigned32 Timer_interrupts;
     67static uint32_t  Timer_interrupts;
    6868
    6969rtems_boolean Timer_driver_Find_average_overhead;
    7070
    71 static rtems_unsigned32 Timer_HZ ;
     71static uint32_t  Timer_HZ ;
    7272
    7373void Timer_initialize( void )
    7474{
    75   rtems_unsigned8  temp8;
    76   rtems_unsigned16 temp16;
    77   rtems_unsigned32 level;
     75  uint8_t    temp8;
     76  uint16_t  temp16;
     77  uint32_t  level;
    7878  rtems_isr        *ignored;
    7979
     
    150150int Read_timer( void )
    151151{
    152   rtems_unsigned32 cclicks;
    153   rtems_unsigned32 total ;
     152  uint32_t  cclicks;
     153  uint32_t  total ;
    154154  /*
    155155   *  Read the timer and see how many clicks it has been since we started.
     
    202202void timerisr( void )
    203203{
    204   unsigned8 temp8;
     204  uint8_t  temp8;
    205205
    206206  /* reset the flags of the status register */
  • c/src/lib/libcpu/sh/sh7045/clock/ckinit.c

    r8bc4430b re96a950b  
    7272 */
    7373
    74 volatile rtems_unsigned32 Clock_driver_ticks;
     74volatile uint32_t  Clock_driver_ticks;
    7575
    7676static void Clock_exit( void );
    7777static rtems_isr Clock_isr( rtems_vector_number vector );
    78 static rtems_unsigned32 Clock_MHZ ;
     78static uint32_t  Clock_MHZ ;
    7979
    8080/*
     
    8686 */
    8787
    88 rtems_unsigned32 Clock_isrs;              /* ISRs until next tick */
    89 static rtems_unsigned32 Clock_isrs_const;        /* only calculated once */
     88uint32_t  Clock_isrs;              /* ISRs until next tick */
     89static uint32_t  Clock_isrs_const;        /* only calculated once */
    9090
    9191/*
     
    119119   * perform any timer dependent tasks
    120120   */
    121   unsigned8 temp;
     121  uint8_t  temp;
    122122
    123123  /* reset the flags of the status register */
     
    149149)
    150150{
    151   unsigned8 temp8 = 0;
    152   unsigned32 factor = 1000000;
     151  uint8_t  temp8 = 0;
     152  uint32_t  factor = 1000000;
    153153 
    154154 
     
    223223void Clock_exit( void )
    224224{
    225   unsigned8 temp8 = 0;
     225  uint8_t  temp8 = 0;
    226226
    227227  /* turn off the timer interrupts */
     
    272272)
    273273{
    274   rtems_unsigned32 isrlevel;
     274  uint32_t  isrlevel;
    275275  rtems_libio_ioctl_args_t *args = pargp;
    276276 
  • c/src/lib/libcpu/sh/sh7045/include/ispsh7045.h

    r8bc4430b re96a950b  
    4444#include <rtems/score/types.h>
    4545
    46 extern void __ISR_Handler( unsigned32 vector );
     46extern void __ISR_Handler( uint32_t  vector );
    4747
    4848
  • c/src/lib/libcpu/sh/sh7045/sci/sci.c

    r8bc4430b re96a950b  
    7979struct scidev_t {
    8080  char *                        name ;
    81   unsigned32                    addr ;
     81  uint32_t                      addr ;
    8282  rtems_device_minor_number     minor ;
    8383  unsigned short                opened ;
     
    105105  tcflag_t      c_cflag )
    106106{
    107   unsigned8     smr ;
    108   unsigned8     brr ;
     107  uint8_t       smr ;
     108  uint8_t       brr ;
    109109 
    110110  if ( c_cflag & CBAUD )
     
    151151rtems_boolean wrtSCI0(unsigned char ch)
    152152{
    153   unsigned8 temp;
     153  uint8_t  temp;
    154154  rtems_boolean result=FALSE;
    155155
     
    167167rtems_boolean wrtSCI1(unsigned char ch)
    168168{
    169   unsigned8 temp;
     169  uint8_t  temp;
    170170  rtems_boolean result=FALSE;
    171171
     
    204204rtems_boolean rdSCI0(unsigned char *ch)
    205205{
    206   unsigned8 temp;
     206  uint8_t  temp;
    207207  rtems_boolean result=FALSE;
    208208
     
    228228rtems_boolean rdSCI1(unsigned char *ch)
    229229{
    230   unsigned8 temp;
     230  uint8_t  temp;
    231231  rtems_boolean result=FALSE;
    232232
     
    340340  void                    * arg )
    341341{
    342   unsigned8 temp8;
    343   unsigned16 temp16;
     342  uint8_t  temp8;
     343  uint16_t  temp16;
    344344 
    345345  unsigned      a ;
  • c/src/lib/libcpu/sh/sh7045/sci/sci_termios.c

    r8bc4430b re96a950b  
    7272)
    7373{
    74     unsigned8   smr ;
    75     unsigned8   brr ;
     74    uint8_t     smr ;
     75    uint8_t     brr ;
    7676    int a;
    7777   
     
    136136        if(Console_Port_Tbl[minor].ulIntVector == vector)
    137137        {             
    138             unsigned8 temp8;
     138            uint8_t  temp8;
    139139           
    140140            /*
     
    194194void sh_sci_init(int minor)
    195195{
    196     unsigned16 temp16;
     196    uint16_t  temp16;
    197197   
    198198    /*
     
    286286  void *arg )
    287287{
    288     unsigned8 temp8;
     288    uint8_t  temp8;
    289289    unsigned int a ;
    290290 
     
    440440int sh_sci_inbyte_nonblocking_polled(int minor)
    441441{
    442     unsigned8 inbyte;
     442    uint8_t  inbyte;
    443443
    444444    /*
  • c/src/lib/libcpu/sh/sh7045/score/cpu_asm.c

    r8bc4430b re96a950b  
    6868  unsigned int prio )
    6969{
    70   unsigned32 shiftcount;
    71   unsigned32 prioreg;
    72   unsigned16 temp16;
    73   unsigned32 level;
     70  uint32_t  shiftcount;
     71  uint32_t  prioreg;
     72  uint16_t  temp16;
     73  uint32_t  level;
    7474
    7575  /*
     
    258258 */
    259259 
    260 void __ISR_Handler( unsigned32 vector)
    261 {
    262   register unsigned32 level;
     260void __ISR_Handler( uint32_t  vector)
     261{
     262  register uint32_t  level;
    263263
    264264  _CPU_ISR_Disable( level );
  • c/src/lib/libcpu/sh/sh7045/timer/timer.c

    r8bc4430b re96a950b  
    5656rtems_isr timerisr();
    5757
    58 static rtems_unsigned32 Timer_interrupts;
     58static uint32_t  Timer_interrupts;
    5959
    6060rtems_boolean Timer_driver_Find_average_overhead;
    6161
    62 static rtems_unsigned32 Timer_MHZ ;
     62static uint32_t  Timer_MHZ ;
    6363
    6464void Timer_initialize( void )
    6565{
    66   rtems_unsigned8  temp8;
    67   rtems_unsigned16 temp16;
    68   rtems_unsigned32 level;
     66  uint8_t    temp8;
     67  uint16_t  temp16;
     68  uint32_t  level;
    6969  rtems_isr        *ignored;
    7070
     
    146146int Read_timer( void )
    147147{
    148   rtems_unsigned32 clicks;
    149   rtems_unsigned32 total ;
     148  uint32_t  clicks;
     149  uint32_t  total ;
    150150  /*
    151151   *  Read the timer and see how many clicks it has been since we started.
     
    198198void timerisr( void )
    199199{
    200   unsigned8 temp8;
     200  uint8_t  temp8;
    201201
    202202  /* reset the flags of the status register */
  • c/src/lib/libcpu/sh/sh7750/clock/ckinit.c

    r8bc4430b re96a950b  
    4545 */
    4646
    47 volatile rtems_unsigned32 Clock_driver_ticks;
     47volatile uint32_t  Clock_driver_ticks;
    4848
    4949static void Clock_exit( void );
     
    7878Clock_isr(rtems_vector_number vector)
    7979{
    80     unsigned16 tcr;
     80    uint16_t  tcr;
    8181
    8282    /* reset the timer underflow flag */
     
    109109    int cpudiv = 1; /* CPU frequency divider */
    110110    int tidiv = 1;  /* Timer input frequency divider */
    111     unsigned32 timer_divider; /* Calculated Timer Divider value */
    112     unsigned8 temp8;
    113     unsigned16 temp16;
     111    uint32_t  timer_divider; /* Calculated Timer Divider value */
     112    uint8_t  temp8;
     113    uint16_t  temp16;
    114114 
    115115    /*
     
    237237Clock_exit(void)
    238238{
    239     unsigned8 temp8 = 0;
    240     unsigned16 temp16 = 0;
     239    uint8_t  temp8 = 0;
     240    uint16_t  temp16 = 0;
    241241
    242242    /* turn off the timer interrupts */
     
    297297              void *pargp)
    298298{
    299   rtems_unsigned32 isrlevel;
     299  uint32_t  isrlevel;
    300300  rtems_libio_ioctl_args_t *args = pargp;
    301301 
  • c/src/lib/libcpu/sh/sh7750/include/rtems/score/ispsh7750.h

    r8bc4430b re96a950b  
    5151extern void _dummy_isp( void );
    5252
    53 extern void __ISR_Handler( unsigned32 vector );
     53extern void __ISR_Handler( uint32_t  vector );
    5454
    5555/* This variable contains VBR value used to pass control when debug, error
  • c/src/lib/libcpu/sh/sh7750/include/sh/sh4uart.h

    r8bc4430b re96a950b  
    3636 * Macros to call UART registers
    3737 */
    38 #define SCRDR(n) (*(volatile rtems_unsigned8 *)SH7750_SCRDR(n))
     38#define SCRDR(n) (*(volatile uint8_t  *)SH7750_SCRDR(n))
    3939#define SCRDR1 SCRDR(1)
    4040#define SCRDR2 SCRDR(2)
    41 #define SCTDR(n) (*(volatile rtems_unsigned8 *)SH7750_SCTDR(n))
     41#define SCTDR(n) (*(volatile uint8_t  *)SH7750_SCTDR(n))
    4242#define SCTDR1 SCTDR(1)
    4343#define SCTDR2 SCTDR(2)
    44 #define SCSMR(n) ((n) == 1 ? *(volatile rtems_unsigned8 *)SH7750_SCSMR1 : \
    45         *(volatile rtems_unsigned16 *)SH7750_SCSMR2)
     44#define SCSMR(n) ((n) == 1 ? *(volatile uint8_t  *)SH7750_SCSMR1 : \
     45        *(volatile uint16_t  *)SH7750_SCSMR2)
    4646#define SCSMR1 SCSMR(1)
    4747#define SCSMR2 SCSMR(2)
    48 #define SCSCR(n) ((n) == 1 ? *(volatile rtems_unsigned8 *)SH7750_SCSCR1 : \
    49         *(volatile rtems_unsigned16 *)SH7750_SCSCR2)
     48#define SCSCR(n) ((n) == 1 ? *(volatile uint8_t  *)SH7750_SCSCR1 : \
     49        *(volatile uint16_t  *)SH7750_SCSCR2)
    5050#define SCSCR1 SCSCR(1)
    5151#define SCSCR2 SCSCR(2)
    52 #define SCSSR(n) ((n) == 1 ? *(volatile rtems_unsigned8 *)SH7750_SCSSR1 : \
    53         *(volatile rtems_unsigned16 *)SH7750_SCSSR2)
     52#define SCSSR(n) ((n) == 1 ? *(volatile uint8_t  *)SH7750_SCSSR1 : \
     53        *(volatile uint16_t  *)SH7750_SCSSR2)
    5454#define SCSSR1 SCSSR(1)
    5555#define SCSSR2 SCSSR(2)
    56 #define SCSPTR1 (*(volatile rtems_unsigned8 *)SH7750_SCSPTR1)
    57 #define SCSPTR2 (*(volatile rtems_unsigned16 *)SH7750_SCSPTR2)
    58 #define SCBRR(n) (*(volatile rtems_unsigned8 *)SH7750_SCBRR(n))
     56#define SCSPTR1 (*(volatile uint8_t  *)SH7750_SCSPTR1)
     57#define SCSPTR2 (*(volatile uint16_t  *)SH7750_SCSPTR2)
     58#define SCBRR(n) (*(volatile uint8_t  *)SH7750_SCBRR(n))
    5959#define SCBRR1 SCBRR(1)
    6060#define SCBRR2 SCBRR(2)
    61 #define SCFCR2 (*(volatile rtems_unsigned16 *)SH7750_SCFCR2)
    62 #define SCFDR2 (*(volatile rtems_unsigned16 *)SH7750_SCFDR2)
    63 #define SCLSR2 (*(volatile rtems_unsigned16 *)SH7750_SCLSR2)
     61#define SCFCR2 (*(volatile uint16_t  *)SH7750_SCFCR2)
     62#define SCFDR2 (*(volatile uint16_t  *)SH7750_SCFDR2)
     63#define SCLSR2 (*(volatile uint16_t  *)SH7750_SCLSR2)
    6464
    65 #define IPRB (*(volatile rtems_unsigned16 *)SH7750_IPRB)
    66 #define IPRC (*(volatile rtems_unsigned16 *)SH7750_IPRC)
     65#define IPRB (*(volatile uint16_t  *)SH7750_IPRB)
     66#define IPRC (*(volatile uint16_t  *)SH7750_IPRC)
    6767
    6868/*
     
    7272 */
    7373typedef struct sh4uart {
    74    rtems_unsigned8      chn;        /* UART channel number */
    75    rtems_unsigned8      int_driven; /* UART interrupt vector number, or
     74   uint8_t        chn;        /* UART channel number */
     75   uint8_t        int_driven; /* UART interrupt vector number, or
    7676                                       0 if polled I/O */
    7777   void                *tty;        /* termios channel descriptor */
    7878
    7979   volatile const char         *tx_buf;     /* Transmit buffer from termios */
    80    volatile rtems_unsigned32    tx_buf_len; /* Transmit buffer length */
    81    volatile rtems_unsigned32    tx_ptr;     /* Index of next char to transmit*/
     80   volatile uint32_t      tx_buf_len; /* Transmit buffer length */
     81   volatile uint32_t      tx_ptr;     /* Index of next char to transmit*/
    8282
    8383   rtems_isr_entry      old_handler_transmit;   /* Saved interrupt handlers */
  • c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c

    r8bc4430b re96a950b  
    8181 *    peripheral module clock in Hz.
    8282 */
    83 rtems_unsigned32
     83uint32_t 
    8484sh4uart_get_Pph(void)
    8585{
    86     rtems_unsigned16 frqcr = *(volatile rtems_unsigned16 *)SH7750_FRQCR;
    87     rtems_unsigned32 Pph = CPU_CLOCK_RATE_HZ;
     86    uint16_t   frqcr = *(volatile uint16_t  *)SH7750_FRQCR;
     87    uint32_t  Pph = CPU_CLOCK_RATE_HZ;
    8888
    8989    switch (frqcr & SH7750_FRQCR_IFC)
     
    162162sh4uart_set_baudrate(sh4uart *uart, speed_t baud)
    163163{
    164     rtems_unsigned32 rate;
    165     rtems_signed16 div;
     164    uint32_t  rate;
     165    int16_t  div;
    166166    int n;
    167     rtems_unsigned32 Pph = sh4uart_get_Pph();
     167    uint32_t  Pph = sh4uart_get_Pph();
    168168
    169169    switch (baud)
     
    251251    if (int_driven)
    252252    {
    253         rtems_unsigned16 ipr;
     253        uint16_t  ipr;
    254254
    255255        if (chn == SH4_SCI)
     
    359359    int level;
    360360    speed_t baud;
    361     rtems_unsigned16 smr;
     361    uint16_t  smr;
    362362   
    363     smr = (rtems_unsigned16)(*(rtems_unsigned8 *)SH7750_SCSMR(uart->chn));
     363    smr = (uint16_t  )(*(uint8_t  *)SH7750_SCSMR(uart->chn));
    364364
    365365    baud = cfgetospeed(t);
     
    404404
    405405    sh4uart_set_baudrate(uart, baud);
    406     SCSMR(uart->chn) = (rtems_unsigned8)smr;
     406    SCSMR(uart->chn) = (uint8_t  )smr;
    407407
    408408    /* enable operations */
  • c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c

    r8bc4430b re96a950b  
    255255 */
    256256 
    257 void __ISR_Handler( unsigned32 vector)
     257void __ISR_Handler( uint32_t  vector)
    258258{
    259   register unsigned32 level;
     259  register uint32_t  level;
    260260
    261261  _CPU_ISR_Disable( level );
  • c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c

    r8bc4430b re96a950b  
    7373 */
    7474void _CPU_ISR_install_vector(
    75   unsigned32  vector,
     75  uint32_t    vector,
    7676  proc_ptr    new_handler,
    7777  proc_ptr   *old_handler
  • c/src/lib/libcpu/sh/sh7750/timer/timer.c

    r8bc4430b re96a950b  
    4040rtems_isr timerisr();
    4141
    42 static rtems_unsigned32 Timer_interrupts;
     42static uint32_t  Timer_interrupts;
    4343
    4444/* Counter should be divided to this value to obtain time in microseconds */
    45 static rtems_unsigned32 microseconds_divider;
     45static uint32_t  microseconds_divider;
    4646
    4747/* Interrupt period in microseconds */
    48 static rtems_unsigned32 microseconds_per_int;
     48static uint32_t  microseconds_per_int;
    4949
    5050rtems_boolean Timer_driver_Find_average_overhead;
     
    6666Timer_initialize(void)
    6767{
    68     rtems_unsigned8       temp8;
    69     rtems_unsigned16      temp16;
     68    uint8_t         temp8;
     69    uint16_t        temp16;
    7070    rtems_interrupt_level level;
    7171    rtems_isr            *ignored;
     
    204204Read_timer(void)
    205205{
    206     rtems_unsigned32 clicks;
    207     rtems_unsigned32 ints;
    208     rtems_unsigned32 total ;
     206    uint32_t  clicks;
     207    uint32_t  ints;
     208    uint32_t  total ;
    209209    rtems_interrupt_level level;
    210     rtems_unsigned32 tcr;
     210    uint32_t  tcr;
    211211   
    212212
     
    282282timerisr(void)
    283283{
    284   unsigned8 temp8;
     284  uint8_t  temp8;
    285285
    286286  /* reset the flags of the status register */
Note: See TracChangeset for help on using the changeset viewer.