mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-24 13:27:13 +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>
|
2004-02-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* Makefile.am: Reflect changes to bsp.am.
|
* Makefile.am: Reflect changes to bsp.am.
|
||||||
|
|||||||
@@ -115,10 +115,10 @@ extern "C" {
|
|||||||
* Defined in the linker script 'linkcmds'
|
* Defined in the linker script 'linkcmds'
|
||||||
*/
|
*/
|
||||||
|
|
||||||
extern unsigned32 HeapStart ;
|
extern uint32_t HeapStart ;
|
||||||
extern unsigned32 HeapEnd ;
|
extern uint32_t HeapEnd ;
|
||||||
extern unsigned32 WorkSpaceStart ;
|
extern uint32_t WorkSpaceStart ;
|
||||||
extern unsigned32 WorkSpaceEnd ;
|
extern uint32_t WorkSpaceEnd ;
|
||||||
|
|
||||||
extern void *CPU_Interrupt_stack_low ;
|
extern void *CPU_Interrupt_stack_low ;
|
||||||
extern void *CPU_Interrupt_stack_high ;
|
extern void *CPU_Interrupt_stack_high ;
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ char *rtems_progname;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
void bsp_postdriver_hook(void);
|
void bsp_postdriver_hook(void);
|
||||||
void bsp_libc_init( void *, unsigned32, int );
|
void bsp_libc_init( void *, uint32_t, int );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Function: bsp_pretasking_hook
|
* Function: bsp_pretasking_hook
|
||||||
@@ -111,8 +111,7 @@ void bsp_start(void)
|
|||||||
|
|
||||||
BSP_Configuration.work_space_start = (void *) &WorkSpaceStart ;
|
BSP_Configuration.work_space_start = (void *) &WorkSpaceStart ;
|
||||||
BSP_Configuration.work_space_size =
|
BSP_Configuration.work_space_size =
|
||||||
(unsigned32) &WorkSpaceEnd -
|
&WorkSpaceEnd - &WorkSpaceStart ;
|
||||||
(unsigned32) &WorkSpaceStart ;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* initialize the CPU table for this BSP
|
* initialize the CPU table for this BSP
|
||||||
@@ -124,8 +123,7 @@ void bsp_start(void)
|
|||||||
|
|
||||||
/* This isn't used anywhere */
|
/* This isn't used anywhere */
|
||||||
Cpu_table.interrupt_stack_size =
|
Cpu_table.interrupt_stack_size =
|
||||||
(unsigned32) (&CPU_Interrupt_stack_high) -
|
&CPU_Interrupt_stack_high - &CPU_Interrupt_stack_low ;
|
||||||
(unsigned32) (&CPU_Interrupt_stack_low) ;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ void early_hw_init (void)
|
|||||||
/* to be called from 'bspstart.c' */
|
/* to be called from 'bspstart.c' */
|
||||||
void bsp_hw_init (void)
|
void bsp_hw_init (void)
|
||||||
{
|
{
|
||||||
unsigned16 temp16;
|
uint16_t temp16;
|
||||||
|
|
||||||
#ifdef STANDALONE_EVB
|
#ifdef STANDALONE_EVB
|
||||||
/* STANDALONE_EVB: sets up PFC */
|
/* STANDALONE_EVB: sets up PFC */
|
||||||
|
|||||||
Reference in New Issue
Block a user