forked from Imagelibrary/rtems
SPARC BSPs: remove BSP_fatal_return unreached code
This commit is contained in:
@@ -92,8 +92,6 @@ rtems_isr_entry set_vector( /* returns old vector */
|
|||||||
int type /* RTEMS or RAW intr */
|
int type /* RTEMS or RAW intr */
|
||||||
);
|
);
|
||||||
|
|
||||||
void BSP_fatal_return( void );
|
|
||||||
|
|
||||||
void bsp_spurious_initialize( void );
|
void bsp_spurious_initialize( void );
|
||||||
|
|
||||||
/* Allocate 8-byte aligned non-freeable pre-malloc() memory. The function
|
/* Allocate 8-byte aligned non-freeable pre-malloc() memory. The function
|
||||||
|
|||||||
@@ -113,8 +113,6 @@ rtems_isr_entry set_vector( /* returns old vector */
|
|||||||
int type /* RTEMS or RAW intr */
|
int type /* RTEMS or RAW intr */
|
||||||
);
|
);
|
||||||
|
|
||||||
void BSP_fatal_return( void );
|
|
||||||
|
|
||||||
void bsp_spurious_initialize( void );
|
void bsp_spurious_initialize( void );
|
||||||
|
|
||||||
/* Allocate 8-byte aligned non-freeable pre-malloc() memory. The function
|
/* Allocate 8-byte aligned non-freeable pre-malloc() memory. The function
|
||||||
|
|||||||
@@ -131,8 +131,6 @@ rtems_isr_entry set_vector( /* returns old vector */
|
|||||||
int type /* RTEMS or RAW intr */
|
int type /* RTEMS or RAW intr */
|
||||||
);
|
);
|
||||||
|
|
||||||
void BSP_fatal_return( void );
|
|
||||||
|
|
||||||
void bsp_spurious_initialize( void );
|
void bsp_spurious_initialize( void );
|
||||||
|
|
||||||
/* Allocate 8-byte aligned non-freeable pre-malloc() memory. The function
|
/* Allocate 8-byte aligned non-freeable pre-malloc() memory. The function
|
||||||
|
|||||||
@@ -252,8 +252,6 @@ SYM(hard_reset):
|
|||||||
|
|
||||||
call SYM(bsp_start_on_secondary_processor) ! does not return
|
call SYM(bsp_start_on_secondary_processor) ! does not return
|
||||||
sub %sp, CPU_MINIMUM_STACK_FRAME_SIZE, %sp
|
sub %sp, CPU_MINIMUM_STACK_FRAME_SIZE, %sp
|
||||||
ba SYM(bsp_reset) ! just in case
|
|
||||||
nop
|
|
||||||
cpu0:
|
cpu0:
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -364,14 +362,11 @@ zerobss:
|
|||||||
nop
|
nop
|
||||||
|
|
||||||
mov %0, %o0 ! command line
|
mov %0, %o0 ! command line
|
||||||
call SYM(boot_card)
|
call SYM(boot_card) ! does not return
|
||||||
sub %sp, 0x60, %sp ! room for boot_card to save args
|
sub %sp, 0x60, %sp ! room for boot_card to save args
|
||||||
nop
|
|
||||||
|
|
||||||
#if !defined(START_LEON3_ENABLE_SMP)
|
#if !defined(START_LEON3_ENABLE_SMP)
|
||||||
PUBLIC(BSP_fatal_return)
|
|
||||||
PUBLIC(bsp_reset)
|
PUBLIC(bsp_reset)
|
||||||
SYM(BSP_fatal_return):
|
|
||||||
SYM(bsp_reset):
|
SYM(bsp_reset):
|
||||||
mov 1, %g1
|
mov 1, %g1
|
||||||
ta 0 ! Halt if _main returns ...
|
ta 0 ! Halt if _main returns ...
|
||||||
|
|||||||
Reference in New Issue
Block a user