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

* bspstart.c, gnatcommon.c: Convert to using c99 fixed size types.
This commit is contained in:
Ralf Corsepius
2004-03-31 05:18:13 +00:00
parent bd978031bf
commit e7d03cbcf0
3 changed files with 16 additions and 12 deletions

View File

@@ -1,3 +1,7 @@
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* bspstart.c, gnatcommon.c: Convert to using c99 fixed size types.
2003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Cosmetics.

View File

@@ -44,7 +44,7 @@ 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;
/*
* Amount to increment itimer by each pass
@@ -52,7 +52,7 @@ extern rtems_unsigned32 rdb_start;
* script to bump it without recompiling rtems
*/
rtems_unsigned32 CPU_SPARC_CLICKS_PER_TICK;
uint32_t CPU_SPARC_CLICKS_PER_TICK;
#if SIMSPARC_FAST_IDLE
@@ -71,8 +71,8 @@ rtems_extension fast_idle_switch_hook(
rtems_tcb *heir_task
)
{
static rtems_unsigned32 normal_clock = ~0;
static rtems_unsigned32 fast_clock;
static uint32_t normal_clock = ~0;
static uint32_t fast_clock;
/* init our params on first call */
if (normal_clock == ~0)
@@ -100,7 +100,7 @@ rtems_extension fast_idle_switch_hook(
*/
void bsp_postdriver_hook(void);
void bsp_libc_init( void *, unsigned32, int );
void bsp_libc_init( void *, uint32_t, int );
extern void bsp_spurious_initialize();
/*
@@ -113,10 +113,10 @@ extern void bsp_spurious_initialize();
void bsp_pretasking_hook(void)
{
extern int end;
rtems_unsigned32 heap_start;
rtems_unsigned32 heap_size;
uint32_t heap_start;
uint32_t heap_size;
heap_start = (rtems_unsigned32) &end;
heap_start = (uint32_t) &end;
if (heap_start & (CPU_ALIGNMENT-1))
heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);

View File

@@ -17,8 +17,8 @@
rtems_isr __gnat_exception_handler
(rtems_vector_number trap)
{
rtems_unsigned32 real_trap;
rtems_unsigned32 signal;
uint32_t real_trap;
uint32_t signal;
real_trap = SPARC_REAL_TRAP_NUMBER (trap);
switch (real_trap)
@@ -47,7 +47,7 @@ rtems_isr __gnat_exception_handler
rtems_isr __gnat_interrupt_handler
(rtems_vector_number trap)
{
rtems_unsigned32 real_trap;
uint32_t real_trap;
real_trap = SPARC_REAL_TRAP_NUMBER (trap);
@@ -84,7 +84,7 @@ const struct sigaction __gnat_error_vector =
void
__gnat_install_handler_common (int t1, int t2)
{
rtems_unsigned32 trap;
uint32_t trap;
rtems_isr_entry previous_isr;
sigaction (SIGSEGV, &__gnat_error_vector, NULL);