kern: complete final SVC stubs (KernelDebug/Trace debug-impl still TODO)

This commit is contained in:
Michael Scire
2020-07-31 13:33:33 -07:00
committed by SciresM
parent 5d462c626c
commit 3fd4002bc9
4 changed files with 69 additions and 7 deletions

View File

@@ -33,6 +33,9 @@ namespace ams::kern::svc {
void CallReturnFromException64();
void CallReturnFromException64From32();
/* Declare special prototype for (unsupported) CallCallSecureMonitor64From32. */
void CallCallSecureMonitor64From32();
namespace {
#ifndef MESOSPHERE_USE_STUBBED_SVC_TABLES
@@ -75,6 +78,8 @@ namespace ams::kern::svc {
table[svc::SvcId_ReturnFromException] = CallReturnFromException64From32;
table[svc::SvcId_CallSecureMonitor] = CallCallSecureMonitor64From32;
return table;
}();