abort/error: print backtrace, abuse templates, overhaul result/diag (macos not done yet)

This commit is contained in:
Michael Scire committed 2022-03-10 01:17:14 -08:00
1 parent 5c5789eadf
commit 87764613f2
118 files changed
+2843 -369

No files matched your search

@@ -50,7 +50,7 @@ namespace ams::rebootstub {
namespace ams::diag {
void AbortImpl() {
NORETURN void AbortImpl() {
/* Halt the bpmp. */
rebootstub::Halt();
@@ -111,7 +111,7 @@ namespace ams::sc7fw {
namespace ams::diag {
void AbortImpl() {
NORETURN void AbortImpl() {
sc7fw::ExceptionHandler();
}
+1 -1
View File
@@ -50,7 +50,7 @@ namespace ams::diag {
}
void AbortImpl() {
NORETURN void AbortImpl() {
/* Perform any necessary (typically none) debugging. */
if constexpr (SaveSystemStateForDebug) {
SaveSystemStateForDebugAbort();