mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* include/bsp.h, startup/bspstart.c, startup/hw_init.c: Convert to using c99 fixed size types.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* include/bsp.h, startup/bspstart.c, startup/hw_init.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.
|
||||
|
||||
@@ -115,10 +115,10 @@ extern "C" {
|
||||
* Defined in the linker script 'linkcmds'
|
||||
*/
|
||||
|
||||
extern unsigned32 HeapStart ;
|
||||
extern unsigned32 HeapEnd ;
|
||||
extern unsigned32 WorkSpaceStart ;
|
||||
extern unsigned32 WorkSpaceEnd ;
|
||||
extern uint32_t HeapStart ;
|
||||
extern uint32_t HeapEnd ;
|
||||
extern uint32_t WorkSpaceStart ;
|
||||
extern uint32_t WorkSpaceEnd ;
|
||||
|
||||
extern void *CPU_Interrupt_stack_low ;
|
||||
extern void *CPU_Interrupt_stack_high ;
|
||||
|
||||
@@ -50,7 +50,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
|
||||
@@ -111,8 +111,7 @@ void bsp_start(void)
|
||||
|
||||
BSP_Configuration.work_space_start = (void *) &WorkSpaceStart ;
|
||||
BSP_Configuration.work_space_size =
|
||||
(unsigned32) &WorkSpaceEnd -
|
||||
(unsigned32) &WorkSpaceStart ;
|
||||
&WorkSpaceEnd - &WorkSpaceStart ;
|
||||
|
||||
/*
|
||||
* initialize the CPU table for this BSP
|
||||
@@ -124,8 +123,7 @@ void bsp_start(void)
|
||||
|
||||
/* This isn't used anywhere */
|
||||
Cpu_table.interrupt_stack_size =
|
||||
(unsigned32) (&CPU_Interrupt_stack_high) -
|
||||
(unsigned32) (&CPU_Interrupt_stack_low) ;
|
||||
&CPU_Interrupt_stack_high - &CPU_Interrupt_stack_low ;
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ void early_hw_init (void)
|
||||
/* to be called from 'bspstart.c' */
|
||||
void bsp_hw_init (void)
|
||||
{
|
||||
unsigned16 temp16;
|
||||
uint16_t temp16;
|
||||
|
||||
#ifdef STANDALONE_EVB
|
||||
/* STANDALONE_EVB: sets up PFC */
|
||||
|
||||
Reference in New Issue
Block a user