summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/shared/startup/bsp_fatal_halt.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps/sparc: Include right header fileSebastian Huber2014-10-231-1/+1
|
* SPARC: Fatal_halt use source and exit codesDaniel Hellstrom2014-10-061-0/+38
The Fatal_halt handler now have two options, either halt as before or enter system error state to return to debugger or simulator. The exit-code is now also propagated to the debugger which is very useful for testing. The CPU_Fatal_halt handler was split up into two, since the only the LEON3 support the CPU power down. The LEON3 halt now uses the power-down instruction to save CPU power. This doesn't stop a potential watch-dog timer from expiring.