mirror of
https://github.com/t-crest/rtems.git
synced 2025-12-26 17:19:00 +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
|
shadd2 $r2 = $r1, _loader_off
|
||||||
swm [$r2] = $r29
|
swm [$r2] = $r29
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef PATMOS_MULTICORE
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Exit immediately with exit code -1 if not on core 0.
|
* 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.
|
* Stack setup and RTEMS setup code need to be adapted when moving to multicore.
|
||||||
@@ -52,6 +55,8 @@ SYM(hard_reset):
|
|||||||
li $r1 = -1
|
li $r1 = -1
|
||||||
nop
|
nop
|
||||||
|
|
||||||
|
#endif /* PATMOS_MULTICORE */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* setup stack cache and stack frame
|
* setup stack cache and stack frame
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user