kern: SvcReturnFromException

This commit is contained in:
Michael Scire
2020-07-31 05:52:59 -07:00
committed by SciresM
parent 8cd81b3092
commit 5d462c626c
11 changed files with 647 additions and 56 deletions

View File

@@ -29,6 +29,10 @@ namespace ams::kern::svc {
void CallReplyAndReceiveLight64();
void CallReplyAndReceiveLight64From32();
/* Declare special prototypes for ReturnFromException. */
void CallReturnFromException64();
void CallReturnFromException64From32();
namespace {
#ifndef MESOSPHERE_USE_STUBBED_SVC_TABLES
@@ -69,6 +73,8 @@ namespace ams::kern::svc {
table[svc::SvcId_SendSyncRequestLight] = CallSendSyncRequestLight64From32;
table[svc::SvcId_ReplyAndReceiveLight] = CallReplyAndReceiveLight64From32;
table[svc::SvcId_ReturnFromException] = CallReturnFromException64From32;
return table;
}();
@@ -83,6 +89,8 @@ namespace ams::kern::svc {
table[svc::SvcId_SendSyncRequestLight] = CallSendSyncRequestLight64;
table[svc::SvcId_ReplyAndReceiveLight] = CallReplyAndReceiveLight64;
table[svc::SvcId_ReturnFromException] = CallReturnFromException64;
return table;
}();