Changeset d85c279e in rtems


Ignore:
Timestamp:
Mar 31, 2004, 4:16:57 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
5601b2b2
Parents:
d89f13a
Message:

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

  • clock/clock.c, include/bsp.h, startup/bspstart.c, timer/timer.c: Convert to using c99 fixed size types.
Location:
c/src/lib/libbsp/c4x/c4xsim
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/c4x/c4xsim/ChangeLog

    rd89f13a rd85c279e  
     12004-03-31      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * clock/clock.c, include/bsp.h, startup/bspstart.c, timer/timer.c:
     4        Convert to using c99 fixed size types.
     5
    162004-02-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • c/src/lib/libbsp/c4x/c4xsim/clock/clock.c

    rd89f13a rd85c279e  
    2323rtems_isr Clock_isr( rtems_vector_number vector );
    2424
    25 rtems_unsigned32 Clock_counter_register_value;
     25uint32_t        Clock_counter_register_value;
    2626
    2727/*
     
    3737 */
    3838
    39 volatile rtems_unsigned32 Clock_driver_ticks;
     39volatile uint32_t        Clock_driver_ticks;
    4040
    4141/*
     
    129129#if 0
    130130  Clock_counter_register_value =
    131       (unsigned32) ((float) BSP_Configuration.microseconds_per_tick /
     131      (uint32_t) ((float) BSP_Configuration.microseconds_per_tick /
    132132       ((float)_ClockFrequency / 2.0)));
    133133#endif
     
    203203)
    204204{
    205     rtems_unsigned32 isrlevel;
     205    uint32_t        isrlevel;
    206206    rtems_libio_ioctl_args_t *args = pargp;
    207207 
  • c/src/lib/libbsp/c4x/c4xsim/include/bsp.h

    rd89f13a rd85c279e  
    109109extern rtems_cpu_table           Cpu_table;             /* owned by BSP */
    110110
    111 extern rtems_unsigned32          bsp_isr_level;
     111extern uint32_t                  bsp_isr_level;
    112112
    113113#endif /* ASM */
  • c/src/lib/libbsp/c4x/c4xsim/startup/bspstart.c

    rd89f13a rd85c279e  
    3636 
    3737void bsp_postdriver_hook(void);
    38 void bsp_libc_init( void *, unsigned32, int );
     38void bsp_libc_init( void *, uint32_t, int );
    3939extern void bsp_spurious_initialize();
    4040
     
    4949{
    5050  extern void *_HeapStart;
    51   extern rtems_unsigned32 _HeapSize;
     51  extern uint32_t        _HeapSize;
    5252
    5353  bsp_libc_init(&_HeapStart, (unsigned int) &_HeapSize, 0);
     
    7575{
    7676  extern void *_WorkspaceBase;
    77   extern rtems_unsigned32 _WorkspaceMax;
     77  extern uint32_t        _WorkspaceMax;
    7878  /*
    7979   * Set up our hooks
  • c/src/lib/libbsp/c4x/c4xsim/timer/timer.c

    rd89f13a rd85c279e  
    2323#include <c4xio.h>
    2424
    25 rtems_unsigned32 Timer_interrupts;
     25uint32_t        Timer_interrupts;
    2626rtems_boolean Timer_driver_Find_average_overhead;
    2727
    28 static unsigned32 start;
     28static uint32_t  start;
    2929
    3030void Timer_initialize( void )
     
    6666int Read_timer( void )
    6767{
    68   rtems_unsigned32 clicks;
    69   rtems_unsigned32 total;
     68  uint32_t        clicks;
     69  uint32_t        total;
    7070  int            tmp;
    7171
Note: See TracChangeset for help on using the changeset viewer.