exo/mariko fatal: perform display init, reboot on power button press

This commit is contained in:
Michael Scire 2020-11-20 01:05:45 -08:00 committed by SciresM
parent 45830472c1
commit 8ba1cdeef2
9 changed files with 1510 additions and 13 deletions

View file

@ -42,7 +42,6 @@ namespace ams::secmon {
/* If not all cores have received the fatal, we need to trigger the interrupt on other cores. */
if (g_fatal_error_mask != (1u << NumCores) - 1) {
/* Configure and send the interrupt to the next core. */
const auto next_core = __builtin_ctz(~g_fatal_error_mask);
gic::SetSpiTargetCpu(MarikoFatalErrorInterruptId, (1u << next_core));