mirror of
https://github.com/t-crest/rtems.git
synced 2025-11-16 04:24:46 +00:00
Avoid exit in hard_reset when building RTEMS for multicore
This commit is contained in:
@@ -43,6 +43,9 @@ SYM(hard_reset):
|
||||
shadd2 $r2 = $r1, _loader_off
|
||||
swm [$r2] = $r29
|
||||
|
||||
|
||||
#ifndef PATMOS_MULTICORE
|
||||
|
||||
/*
|
||||
* Exit immediately with exit code -1 if not on core 0.
|
||||
* Stack setup and RTEMS setup code need to be adapted when moving to multicore.
|
||||
@@ -52,6 +55,8 @@ SYM(hard_reset):
|
||||
li $r1 = -1
|
||||
nop
|
||||
|
||||
#endif /* PATMOS_MULTICORE */
|
||||
|
||||
/*
|
||||
* setup stack cache and stack frame
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user