From 8c936238b6adfbe2a843a786736f7a3da75c993e Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 31 Mar 2004 03:23:51 +0000 Subject: 2004-03-31 Ralf Corsepius * include/bsp.h, include/canbus.h, include/info.h, network/network.c, startup/bspstart.c: Convert to using c99 fixed size types. --- c/src/lib/libbsp/powerpc/eth_comm/startup/bspstart.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'c/src/lib/libbsp/powerpc/eth_comm/startup/bspstart.c') diff --git a/c/src/lib/libbsp/powerpc/eth_comm/startup/bspstart.c b/c/src/lib/libbsp/powerpc/eth_comm/startup/bspstart.c index 94f2384bfe..4a2f484d79 100644 --- a/c/src/lib/libbsp/powerpc/eth_comm/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/eth_comm/startup/bspstart.c @@ -46,7 +46,7 @@ char *rtems_progname; * 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 ); void BSP_panic(char *s) { @@ -78,7 +78,7 @@ void bsp_pretasking_hook(void) { extern int _end; - rtems_unsigned32 heap_start; + uint32_t heap_start; /* * Let's check to see if the size of M860_binfo is what @@ -95,7 +95,7 @@ bsp_pretasking_hook(void) printf(" bootloader differ in their definition of boardinfo_t\n"); } */ - heap_start = (rtems_unsigned32) &_end; + heap_start = (uint32_t) &_end; /* Align the heap on a natural boundary (4 bytes?) */ if (heap_start & (CPU_ALIGNMENT-1)) { @@ -115,8 +115,8 @@ SPR_RW(SPRG1) void bsp_start(void) { extern int _end; - rtems_unsigned32 heap_start; - rtems_unsigned32 ws_start; + uint32_t heap_start; + uint32_t ws_start; ppc_cpu_id_t myCpu; ppc_cpu_revision_t myCpuRevision; register unsigned char* intrStack; @@ -161,7 +161,7 @@ void bsp_start(void) * not malloc'ed. It is just "pulled from the air". */ - 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); -- cgit v1.2.3