kern: implement port debug

This commit is contained in:
Michael Scire 2020-12-10 01:44:27 -08:00
parent 8a4bf6a0a8
commit 0acd79c8c2
6 changed files with 132 additions and 6 deletions

View file

@ -73,6 +73,13 @@ namespace ams::kern::svc {
}
}
break;
case ams::svc::KernelDebugType_Port:
if (arg0 == static_cast<u64>(-1)) {
KDumpObject::DumpPort();
} else {
KDumpObject::DumpPort(arg0);
}
break;
default:
break;
}