summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-03-31 05:18:13 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-03-31 05:18:13 +0000
commite7d03cbcf06c4105f73c24e94184a9422cddb66b (patch)
treeed16572e17655eece51df1e80ef318e915394a4d /c/src/lib/libbsp/sparc
parent2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-e7d03cbcf06c4105f73c24e94184a9422cddb66b.tar.bz2
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* bspstart.c, gnatcommon.c: Convert to using c99 fixed size types.
Diffstat (limited to 'c/src/lib/libbsp/sparc')
-rw-r--r--c/src/lib/libbsp/sparc/shared/ChangeLog4
-rw-r--r--c/src/lib/libbsp/sparc/shared/bspstart.c16
-rw-r--r--c/src/lib/libbsp/sparc/shared/gnatcommon.c8
3 files changed, 16 insertions, 12 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/ChangeLog b/c/src/lib/libbsp/sparc/shared/ChangeLog
index a090c5abd1..f7ee54cbef 100644
--- a/c/src/lib/libbsp/sparc/shared/ChangeLog
+++ b/c/src/lib/libbsp/sparc/shared/ChangeLog
@@ -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.
diff --git a/c/src/lib/libbsp/sparc/shared/bspstart.c b/c/src/lib/libbsp/sparc/shared/bspstart.c
index 1e4e16161a..c9cadc8954 100644
--- a/c/src/lib/libbsp/sparc/shared/bspstart.c
+++ b/c/src/lib/libbsp/sparc/shared/bspstart.c
@@ -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);
diff --git a/c/src/lib/libbsp/sparc/shared/gnatcommon.c b/c/src/lib/libbsp/sparc/shared/gnatcommon.c
index 522a5c8096..4a43764687 100644
--- a/c/src/lib/libbsp/sparc/shared/gnatcommon.c
+++ b/c/src/lib/libbsp/sparc/shared/gnatcommon.c
@@ -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);