forked from Imagelibrary/rtems
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* include/bsp.h, startup/bspstart.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: Convert to using c99 fixed size
|
||||
types.
|
||||
|
||||
2004-02-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Reflect changes to bsp.am.
|
||||
|
||||
@@ -61,8 +61,8 @@ extern "C" {
|
||||
*/
|
||||
|
||||
#define rtems_bsp_delay( microseconds ) \
|
||||
{ register rtems_unsigned32 _delay=(microseconds); \
|
||||
register rtems_unsigned32 _tmp = 0; /* initialized to avoid warning */ \
|
||||
{ register uint32_t _delay=(microseconds); \
|
||||
register uint32_t _tmp = 0; /* initialized to avoid warning */ \
|
||||
asm volatile( "0: \
|
||||
remo 3,31,%0 ; \
|
||||
cmpo 0,%0 ; \
|
||||
|
||||
@@ -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
|
||||
@@ -97,7 +97,7 @@ void bsp_start( void )
|
||||
}
|
||||
|
||||
void H8BD_Install_IRQ(
|
||||
unsigned32 vector,
|
||||
uint32_t vector,
|
||||
proc_ptr new_handler,
|
||||
proc_ptr *old_handler )
|
||||
{ /* empty */
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* include/bsp.h, 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.
|
||||
|
||||
@@ -98,10 +98,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 ;
|
||||
|
||||
@@ -48,7 +48,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
|
||||
@@ -104,8 +104,8 @@ void bsp_start(void)
|
||||
|
||||
BSP_Configuration.work_space_start = (void *) &WorkSpaceStart ;
|
||||
BSP_Configuration.work_space_size =
|
||||
(unsigned32) &WorkSpaceEnd -
|
||||
(unsigned32) &WorkSpaceStart ;
|
||||
(uint32_t) &WorkSpaceEnd -
|
||||
(uint32_t) &WorkSpaceStart ;
|
||||
|
||||
/*
|
||||
* initialize the CPU table for this BSP
|
||||
@@ -116,8 +116,8 @@ void bsp_start(void)
|
||||
_CPU_Interrupt_stack_high = &CPU_Interrupt_stack_high ;
|
||||
|
||||
Cpu_table.interrupt_stack_size =
|
||||
(unsigned32) (&CPU_Interrupt_stack_high) -
|
||||
(unsigned32) (&CPU_Interrupt_stack_low) ;
|
||||
(uint32_t) (&CPU_Interrupt_stack_high) -
|
||||
(uint32_t) (&CPU_Interrupt_stack_low) ;
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* include/bsp.h, 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.
|
||||
|
||||
@@ -94,16 +94,16 @@ extern "C" {
|
||||
|
||||
#define Cause_tm27_intr() \
|
||||
{ \
|
||||
*(volatile rtems_unsigned16 *)SH7750_IPRB |= 0xf000; \
|
||||
*(volatile rtems_unsigned16 *)SH7750_WTCSR = SH7750_WTCSR_KEY; \
|
||||
*(volatile rtems_unsigned16 *)SH7750_WTCNT = SH7750_WTCNT_KEY | 0xfe; \
|
||||
*(volatile rtems_unsigned16 *)SH7750_WTCSR = \
|
||||
*(volatile uint16_t*)SH7750_IPRB |= 0xf000; \
|
||||
*(volatile uint16_t*)SH7750_WTCSR = SH7750_WTCSR_KEY; \
|
||||
*(volatile uint16_t*)SH7750_WTCNT = SH7750_WTCNT_KEY | 0xfe; \
|
||||
*(volatile uint16_t*)SH7750_WTCSR = \
|
||||
SH7750_WTCSR_KEY | SH7750_WTCSR_TME; \
|
||||
}
|
||||
|
||||
#define Clear_tm27_intr() \
|
||||
{ \
|
||||
*(volatile rtems_unsigned16 *)SH7750_WTCSR = SH7750_WTCSR_KEY; \
|
||||
*(volatile uint16_t*)SH7750_WTCSR = SH7750_WTCSR_KEY; \
|
||||
}
|
||||
|
||||
#define Lower_tm27_intr() \
|
||||
@@ -126,10 +126,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 ;
|
||||
@@ -137,7 +137,7 @@ extern void *CPU_Interrupt_stack_high ;
|
||||
/*
|
||||
* Defined in start.S
|
||||
*/
|
||||
extern unsigned32 boot_mode;
|
||||
extern uint32_t boot_mode;
|
||||
#define SH4_BOOT_MODE_FLASH 0
|
||||
#define SH4_BOOT_MODE_IPL 1
|
||||
|
||||
|
||||
@@ -51,7 +51,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
|
||||
@@ -112,8 +112,8 @@ void bsp_start(void)
|
||||
|
||||
BSP_Configuration.work_space_start = (void *) &WorkSpaceStart ;
|
||||
BSP_Configuration.work_space_size =
|
||||
(unsigned32) &WorkSpaceEnd -
|
||||
(unsigned32) &WorkSpaceStart ;
|
||||
(uint32_t) &WorkSpaceEnd -
|
||||
(uint32_t) &WorkSpaceStart ;
|
||||
|
||||
/*
|
||||
* initialize the CPU table for this BSP
|
||||
@@ -125,8 +125,8 @@ void bsp_start(void)
|
||||
|
||||
/* This isn't used anywhere */
|
||||
Cpu_table.interrupt_stack_size =
|
||||
(unsigned32) (&CPU_Interrupt_stack_high) -
|
||||
(unsigned32) (&CPU_Interrupt_stack_low) ;
|
||||
(uint32_t) (&CPU_Interrupt_stack_high) -
|
||||
(uint32_t) (&CPU_Interrupt_stack_low) ;
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user