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>
* bspstart.c, gnatcommon.c: Convert to using c99 fixed size types.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||||
|
|
||||||
|
* bspstart.c, gnatcommon.c: Convert to using c99 fixed size types.
|
||||||
|
|
||||||
2003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* Makefile.am: Cosmetics.
|
* Makefile.am: Cosmetics.
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ rtems_cpu_table Cpu_table;
|
|||||||
* Tells us where to put the workspace in case remote debugger is present.
|
* Tells us where to put the workspace in case remote debugger is present.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
extern rtems_unsigned32 rdb_start;
|
extern uint32_t rdb_start;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Amount to increment itimer by each pass
|
* Amount to increment itimer by each pass
|
||||||
@@ -52,7 +52,7 @@ extern rtems_unsigned32 rdb_start;
|
|||||||
* script to bump it without recompiling rtems
|
* script to bump it without recompiling rtems
|
||||||
*/
|
*/
|
||||||
|
|
||||||
rtems_unsigned32 CPU_SPARC_CLICKS_PER_TICK;
|
uint32_t CPU_SPARC_CLICKS_PER_TICK;
|
||||||
|
|
||||||
#if SIMSPARC_FAST_IDLE
|
#if SIMSPARC_FAST_IDLE
|
||||||
|
|
||||||
@@ -71,8 +71,8 @@ rtems_extension fast_idle_switch_hook(
|
|||||||
rtems_tcb *heir_task
|
rtems_tcb *heir_task
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
static rtems_unsigned32 normal_clock = ~0;
|
static uint32_t normal_clock = ~0;
|
||||||
static rtems_unsigned32 fast_clock;
|
static uint32_t fast_clock;
|
||||||
|
|
||||||
/* init our params on first call */
|
/* init our params on first call */
|
||||||
if (normal_clock == ~0)
|
if (normal_clock == ~0)
|
||||||
@@ -100,7 +100,7 @@ rtems_extension fast_idle_switch_hook(
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
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 );
|
||||||
extern void bsp_spurious_initialize();
|
extern void bsp_spurious_initialize();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -113,10 +113,10 @@ extern void bsp_spurious_initialize();
|
|||||||
void bsp_pretasking_hook(void)
|
void bsp_pretasking_hook(void)
|
||||||
{
|
{
|
||||||
extern int end;
|
extern int end;
|
||||||
rtems_unsigned32 heap_start;
|
uint32_t heap_start;
|
||||||
rtems_unsigned32 heap_size;
|
uint32_t heap_size;
|
||||||
|
|
||||||
heap_start = (rtems_unsigned32) &end;
|
heap_start = (uint32_t) &end;
|
||||||
if (heap_start & (CPU_ALIGNMENT-1))
|
if (heap_start & (CPU_ALIGNMENT-1))
|
||||||
heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
|
heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
|
||||||
|
|
||||||
|
|||||||
@@ -17,8 +17,8 @@
|
|||||||
rtems_isr __gnat_exception_handler
|
rtems_isr __gnat_exception_handler
|
||||||
(rtems_vector_number trap)
|
(rtems_vector_number trap)
|
||||||
{
|
{
|
||||||
rtems_unsigned32 real_trap;
|
uint32_t real_trap;
|
||||||
rtems_unsigned32 signal;
|
uint32_t signal;
|
||||||
|
|
||||||
real_trap = SPARC_REAL_TRAP_NUMBER (trap);
|
real_trap = SPARC_REAL_TRAP_NUMBER (trap);
|
||||||
switch (real_trap)
|
switch (real_trap)
|
||||||
@@ -47,7 +47,7 @@ rtems_isr __gnat_exception_handler
|
|||||||
rtems_isr __gnat_interrupt_handler
|
rtems_isr __gnat_interrupt_handler
|
||||||
(rtems_vector_number trap)
|
(rtems_vector_number trap)
|
||||||
{
|
{
|
||||||
rtems_unsigned32 real_trap;
|
uint32_t real_trap;
|
||||||
|
|
||||||
real_trap = SPARC_REAL_TRAP_NUMBER (trap);
|
real_trap = SPARC_REAL_TRAP_NUMBER (trap);
|
||||||
|
|
||||||
@@ -84,7 +84,7 @@ const struct sigaction __gnat_error_vector =
|
|||||||
void
|
void
|
||||||
__gnat_install_handler_common (int t1, int t2)
|
__gnat_install_handler_common (int t1, int t2)
|
||||||
{
|
{
|
||||||
rtems_unsigned32 trap;
|
uint32_t trap;
|
||||||
rtems_isr_entry previous_isr;
|
rtems_isr_entry previous_isr;
|
||||||
|
|
||||||
sigaction (SIGSEGV, &__gnat_error_vector, NULL);
|
sigaction (SIGSEGV, &__gnat_error_vector, NULL);
|
||||||
|
|||||||
Reference in New Issue
Block a user