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

* startup/bspstart.c: Convert to using c99 fixed size types.
This commit is contained in:
Ralf Corsepius
2004-03-31 04:15:37 +00:00
parent 2a7f710f5d
commit d89f13a4a7
6 changed files with 25 additions and 13 deletions

View File

@@ -1,3 +1,7 @@
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* startup/bspstart.c: Convert to using c99 fixed size types.
2004-03-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Add more memory and sections so tests can link.

View File

@@ -29,17 +29,17 @@
*/
volatile unsigned long *Regs = (unsigned long*)0xdeadbeef; /* Chip registers */
extern rtems_unsigned32 _end; /* End of BSS. Defined in 'linkcmds'. */
extern uint32_t _end; /* End of BSS. Defined in 'linkcmds'. */
/*
* Size of heap if it is 0 it will be dynamically defined by memory size,
* otherwise the value should be changed by binary patch
*/
rtems_unsigned32 _heap_size = 0;
uint32_t _heap_size = 0;
/* Size of stack used during initialization. Defined in 'start.s'. */
extern rtems_unsigned32 _stack_size;
extern uint32_t _stack_size;
rtems_unsigned32 rtemsFreeMemStart;
uint32_t rtemsFreeMemStart;
/* Address of start of free memory - should be updated
after creating new partitions or regions. */
@@ -56,7 +56,7 @@ char *rtems_progname; /* Program name - from main(). */
| External Prototypes
+--------------------------------------------------------------------------*/
extern void rtems_irq_mngt_init(void);
void bsp_libc_init( void *, unsigned32, int );
void bsp_libc_init( void *, uint32_t, int );
void bsp_postdriver_hook(void);
/*-------------------------------------------------------------------------+
@@ -100,7 +100,7 @@ void bsp_pretasking_hook(void)
+--------------------------------------------------------------------------*/
void bsp_start_default( void )
{
rtemsFreeMemStart = (rtems_unsigned32)(&_end); /* &_end+_stack_size;*/
rtemsFreeMemStart = (uint32_t)(&_end); /* &_end+_stack_size;*/
/* set the value of start of free memory. */
/* If we don't have command line arguments set default program name. */

View File

@@ -1,3 +1,7 @@
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* startup/bspstart.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

@@ -38,7 +38,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

View File

@@ -1,3 +1,7 @@
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* startup/bspstart.c: Convert to using c99 fixed size types.
2004-03-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Add more memory so tests can link. This is a

View File

@@ -25,17 +25,17 @@
+--------------------------------------------------------------------------*/
volatile unsigned long *Regs = (unsigned long*)0xF0000; /* Chip registers */
extern rtems_unsigned32 _end; /* End of BSS. Defined in 'linkcmds'. */
extern uint32_t _end; /* End of BSS. Defined in 'linkcmds'. */
/*
* Size of heap if it is 0 it will be dynamically defined by memory size,
* otherwise the value should be changed by binary patch
*/
rtems_unsigned32 _heap_size = 0;
uint32_t _heap_size = 0;
/* Size of stack used during initialization. Defined in 'start.s'. */
extern rtems_unsigned32 _stack_size;
extern uint32_t _stack_size;
rtems_unsigned32 rtemsFreeMemStart;
uint32_t rtemsFreeMemStart;
/* Address of start of free memory - should be updated
after creating new partitions or regions. */
@@ -52,7 +52,7 @@ char *rtems_progname; /* Program name - from main(). */
| External Prototypes
+--------------------------------------------------------------------------*/
extern void rtems_irq_mngt_init(void);
void bsp_libc_init( void *, unsigned32, int );
void bsp_libc_init( void *, uint32_t, int );
void bsp_postdriver_hook(void);
/*-------------------------------------------------------------------------+
@@ -96,7 +96,7 @@ void bsp_pretasking_hook(void)
+--------------------------------------------------------------------------*/
void bsp_start_default( void )
{
rtemsFreeMemStart = (rtems_unsigned32)(&_end); /* &_end+_stack_size;*/
rtemsFreeMemStart = (uint32_t)(&_end); /* &_end+_stack_size;*/
/* set the value of start of free memory. */
/* If we don't have command line arguments set default program name. */