kern: fix kscheduler interrupt api, adjust debug logging

This commit is contained in:
Michael Scire 2020-07-17 22:10:50 -07:00 committed by SciresM
parent fae2daf77c
commit 5fa59ec888
6 changed files with 18 additions and 8 deletions

View file

@ -38,6 +38,8 @@ namespace ams::kern::arch::arm64 {
KProcess *cur_process = GetCurrentProcessPointer();
bool should_process_user_exception = KTargetSystem::IsUserExceptionHandlersEnabled();
MESOSPHERE_LOG("User Exception occurred in %s\n", cur_process->GetName());
const u64 ec = (esr >> 26) & 0x3F;
switch (ec) {
case 0x0: /* Unknown */