kern: SvcLegacyGetFutureThreadInfo
This commit is contained in:
1 parent
3ec9a9e59f
commit
b8c2782ede
3 files changed
+92
-43
No files matched your search
@@ -147,6 +147,13 @@ namespace ams::kern::svc {
|
||||
if (table_64_from_32) { ::ams::kern::svc::PatchSvcTableEntry(table_64_from_32, svc::SvcId_QueryIoMapping, LegacyQueryIoMapping::Call64From32); }
|
||||
}
|
||||
|
||||
/* 6.0.0 broke the ABI for GetFutureThreadInfo, and renamed it to GetDebugFutureThreadInfo. */
|
||||
if (target_fw < TargetFirmware_6_0_0) {
|
||||
static_assert(svc::SvcId_GetDebugFutureThreadInfo == svc::SvcId_LegacyGetFutureThreadInfo);
|
||||
if (table_64) { ::ams::kern::svc::PatchSvcTableEntry(table_64, svc::SvcId_GetDebugFutureThreadInfo, LegacyGetFutureThreadInfo::Call64); }
|
||||
if (table_64_from_32) { ::ams::kern::svc::PatchSvcTableEntry(table_64_from_32, svc::SvcId_GetDebugFutureThreadInfo, LegacyGetFutureThreadInfo::Call64From32); }
|
||||
}
|
||||
|
||||
/* 3.0.0 broke the ABI for ContinueDebugEvent. */
|
||||
if (target_fw < TargetFirmware_3_0_0) {
|
||||
if (table_64) { ::ams::kern::svc::PatchSvcTableEntry(table_64, svc::SvcId_ContinueDebugEvent, LegacyContinueDebugEvent::Call64); }
|
||||
|
||||
Reference in new issue
Block a user