summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/mips/p4000/startup/bspstart.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-03-31 04:12:38 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-03-31 04:12:38 +0000
commit654c115c59a452792e3fb145b6e302f23a41a43f (patch)
tree3bba330cd4fea4edb4d8d821a6ff773dbb697e69 /c/src/lib/libbsp/mips/p4000/startup/bspstart.c
parent2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-654c115c59a452792e3fb145b6e302f23a41a43f.tar.bz2
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* times, include/bsp.h, startup/bspstart.c: Convert to using c99 fixed size types.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/mips/p4000/startup/bspstart.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/mips/p4000/startup/bspstart.c b/c/src/lib/libbsp/mips/p4000/startup/bspstart.c
index 3437867651..7ff8a8e381 100644
--- a/c/src/lib/libbsp/mips/p4000/startup/bspstart.c
+++ b/c/src/lib/libbsp/mips/p4000/startup/bspstart.c
@@ -45,7 +45,7 @@ char *rtems_progname;
*/
void bsp_postdriver_hook(void);
-void bsp_libc_init( void *, unsigned32, int );
+void bsp_libc_init( void *, uint32_t, int );
/*
* Function: bsp_pretasking_hook
@@ -66,9 +66,9 @@ void bsp_libc_init( void *, unsigned32, int );
void bsp_pretasking_hook(void)
{
extern int end;
- rtems_unsigned32 heap_start;
+ uint32_t heap_start;
- 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);
@@ -104,7 +104,7 @@ void bsp_start( void )
*/
BSP_Configuration.work_space_start =
- (void *)((unsigned64)((&end) + LIBC_HEAP_SIZE + 0x2000) & ~0x7);
+ (void *)((uint64_t)((&end) + LIBC_HEAP_SIZE + 0x2000) & ~0x7);
/*
* initialize the CPU table for this BSP