SPARC BSPs: remove BSP_fatal_return unreached code

This commit is contained in:
Daniel Hellstrom
2014-05-21 13:11:54 +02:00
parent 56ed56a641
commit dfc2786d4d
4 changed files with 2 additions and 13 deletions

View File

@@ -92,8 +92,6 @@ rtems_isr_entry set_vector( /* returns old vector */
int type /* RTEMS or RAW intr */
);
void BSP_fatal_return( void );
void bsp_spurious_initialize( void );
/* Allocate 8-byte aligned non-freeable pre-malloc() memory. The function

View File

@@ -113,8 +113,6 @@ rtems_isr_entry set_vector( /* returns old vector */
int type /* RTEMS or RAW intr */
);
void BSP_fatal_return( void );
void bsp_spurious_initialize( void );
/* Allocate 8-byte aligned non-freeable pre-malloc() memory. The function

View File

@@ -131,8 +131,6 @@ rtems_isr_entry set_vector( /* returns old vector */
int type /* RTEMS or RAW intr */
);
void BSP_fatal_return( void );
void bsp_spurious_initialize( void );
/* Allocate 8-byte aligned non-freeable pre-malloc() memory. The function

View File

@@ -252,8 +252,6 @@ SYM(hard_reset):
call SYM(bsp_start_on_secondary_processor) ! does not return
sub %sp, CPU_MINIMUM_STACK_FRAME_SIZE, %sp
ba SYM(bsp_reset) ! just in case
nop
cpu0:
#endif
@@ -364,14 +362,11 @@ zerobss:
nop
mov %0, %o0 ! command line
call SYM(boot_card)
sub %sp, 0x60, %sp ! room for boot_card to save args
nop
call SYM(boot_card) ! does not return
sub %sp, 0x60, %sp ! room for boot_card to save args
#if !defined(START_LEON3_ENABLE_SMP)
PUBLIC(BSP_fatal_return)
PUBLIC(bsp_reset)
SYM(BSP_fatal_return):
SYM(bsp_reset):
mov 1, %g1
ta 0 ! Halt if _main returns ...