2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>

* clock/ckinit.c, include/bsp.h, startup/bspstart.c, timer/timer.c:
	Convert to using c99 fixed size types.
This commit is contained in:
Ralf Corsepius
2004-03-31 05:08:27 +00:00
parent 6fda59fe9b
commit f0cbd19e59
5 changed files with 16 additions and 11 deletions

View File

@@ -1,3 +1,8 @@
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* clock/ckinit.c, include/bsp.h, startup/bspstart.c, timer/timer.c:
Convert to using c99 fixed size types.
2004-02-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Reflect changes to bsp.am.

View File

@@ -31,10 +31,10 @@
#include <stdlib.h>
rtems_unsigned32 Clock_isrs; /* ISRs until next tick */
static rtems_unsigned32 Clock_initial_isr_value;
uint32_t Clock_isrs; /* ISRs until next tick */
static uint32_t Clock_initial_isr_value;
volatile rtems_unsigned32 Clock_driver_ticks;
volatile uint32_t Clock_driver_ticks;
void Clock_exit( void );

View File

@@ -75,7 +75,7 @@ extern "C" {
#define rtems_bsp_delay( _microseconds ) \
{ \
rtems_unsigned32 _counter; \
uint32_t _counter; \
\
_counter = (_microseconds); \
\

View File

@@ -41,14 +41,14 @@ rtems_cpu_table Cpu_table;
* Tells us where to put the workspace in case remote debugger is present.
*/
extern rtems_unsigned32 rdb_start;
extern uint32_t rdb_start;
/*
* Use the shared implementations of the following routines
*/
void bsp_postdriver_hook(void);
void bsp_libc_init( void *, unsigned32, int );
void bsp_libc_init( void *, uint32_t, int );
/*
* Function: bsp_pretasking_hook
@@ -67,10 +67,10 @@ void bsp_libc_init( void *, unsigned32, int );
void bsp_pretasking_hook(void)
{
extern int heap_bottom;
rtems_unsigned32 heap_start;
rtems_unsigned32 heap_size;
uint32_t heap_start;
uint32_t heap_size;
heap_start = (rtems_unsigned32) &heap_bottom;
heap_start = (uint32_t) &heap_bottom;
if (heap_start & (CPU_ALIGNMENT-1))
heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);

View File

@@ -110,8 +110,8 @@ void Timer_initialize()
int Read_timer()
{
register rtems_unsigned32 clicks;
register rtems_unsigned32 total;
register uint32_t clicks;
register uint32_t total;
/* outport_byte( TBCR, 0x00 ); stop the timer -- not needed on intel */