2026-09-25 15:49:56

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie
2026-09-25 15:49:56 +00:00
parent 9e59b4132a
commit 9375aeaacf
64 changed files with 256 additions and 228 deletions
+61 -63
View File
@@ -243,18 +243,17 @@ class IAuthorizationRequest final : public ServiceFramework<IAuthorizationReques
public: public:
explicit IAuthorizationRequest(Core::System& system_, Common::UUID) explicit IAuthorizationRequest(Core::System& system_, Common::UUID)
: ServiceFramework{system_, "IAuthorizationRequest"} { : ServiceFramework{system_, "IAuthorizationRequest"} {
// clang-format off }
static const FunctionInfo functions[] = {
{0, nullptr, "GetSessionId"},
{10, nullptr, "InvokeWithoutInteractionAsync"},
{19, nullptr, "IsAuthorized"},
{20, nullptr, "GetAuthorizationCode"},
{21, nullptr, "GetIdToken"},
{22, nullptr, "GetState"},
};
// clang-format on
RegisterHandlers(functions); FunctionInfoBase const* FindRequest(u32 key) override {
return HandlerTableGenerateWithFind(key,
FunctionInfo{0, nullptr, "GetSessionId"},
FunctionInfo{10, nullptr, "InvokeWithoutInteractionAsync"},
FunctionInfo{19, nullptr, "IsAuthorized"},
FunctionInfo{20, nullptr, "GetAuthorizationCode"},
FunctionInfo{21, nullptr, "GetIdToken"},
FunctionInfo{22, nullptr, "GetState"}
);
} }
}; };
@@ -264,11 +263,11 @@ public:
: ServiceFramework{system_, "IOAuthProcedure"} { : ServiceFramework{system_, "IOAuthProcedure"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "PrepareAsync"}, FunctionInfo{0, nullptr, "PrepareAsync"},
{1, nullptr, "GetRequest"}, FunctionInfo{1, nullptr, "GetRequest"},
{2, nullptr, "ApplyResponse"}, FunctionInfo{2, nullptr, "ApplyResponse"},
{3, nullptr, "ApplyResponseAsync"}, FunctionInfo{3, nullptr, "ApplyResponseAsync"},
{10, nullptr, "Suspend"}, FunctionInfo{10, nullptr, "Suspend"}
}; };
// clang-format on // clang-format on
@@ -283,16 +282,16 @@ public:
: ServiceFramework{system_, "IOAuthProcedureForExternalNsa"} { : ServiceFramework{system_, "IOAuthProcedureForExternalNsa"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "PrepareAsync"}, FunctionInfo{0, nullptr, "PrepareAsync"},
{1, nullptr, "GetRequest"}, FunctionInfo{1, nullptr, "GetRequest"},
{2, nullptr, "ApplyResponse"}, FunctionInfo{2, nullptr, "ApplyResponse"},
{3, nullptr, "ApplyResponseAsync"}, FunctionInfo{3, nullptr, "ApplyResponseAsync"},
{10, nullptr, "Suspend"}, FunctionInfo{10, nullptr, "Suspend"},
{100, nullptr, "GetAccountId"}, FunctionInfo{100, nullptr, "GetAccountId"},
{101, nullptr, "GetLinkedNintendoAccountId"}, FunctionInfo{101, nullptr, "GetLinkedNintendoAccountId"},
{102, nullptr, "GetNickname"}, FunctionInfo{102, nullptr, "GetNickname"},
{103, nullptr, "GetProfileImage"}, FunctionInfo{103, nullptr, "GetProfileImage"},
{104, nullptr, "GetProfileLargeImage"} // 18.0.0+ FunctionInfo{104, nullptr, "GetProfileLargeImage"} // 18.0.0+
}; };
// clang-format on // clang-format on
@@ -307,19 +306,19 @@ public:
: ServiceFramework{system_, "IOAuthProcedureForNintendoAccountLinkage"} { : ServiceFramework{system_, "IOAuthProcedureForNintendoAccountLinkage"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "PrepareAsync"}, FunctionInfo{0, nullptr, "PrepareAsync"},
{1, nullptr, "GetRequest"}, FunctionInfo{1, nullptr, "GetRequest"},
{2, nullptr, "ApplyResponse"}, FunctionInfo{2, nullptr, "ApplyResponse"},
{3, nullptr, "ApplyResponseAsync"}, FunctionInfo{3, nullptr, "ApplyResponseAsync"},
{10, nullptr, "Suspend"}, FunctionInfo{10, nullptr, "Suspend"},
{100, nullptr, "GetRequestWithTheme"}, FunctionInfo{100, nullptr, "GetRequestWithTheme"},
{101, nullptr, "IsNetworkServiceAccountReplaced"}, FunctionInfo{101, nullptr, "IsNetworkServiceAccountReplaced"},
{199, nullptr, "GetUrlForIntroductionOfExtraMembership"}, // 2.0.0 - 5.1.0 FunctionInfo{199, nullptr, "GetUrlForIntroductionOfExtraMembership"}, // 2.0.0 - 5.1.0
{200, nullptr, "ApplyAsyncWithAuthorizedToken"}, FunctionInfo{200, nullptr, "ApplyAsyncWithAuthorizedToken"},
{210, nullptr, "IsProfileAvailable"}, // 17.0.0+ FunctionInfo{210, nullptr, "IsProfileAvailable"}, // 17.0.0+
{220, nullptr, "RegisterUserAsyncWithoutProfile"}, // 17.0.0+ FunctionInfo{220, nullptr, "RegisterUserAsyncWithoutProfile"}, // 17.0.0+
{221, nullptr, "RegisterUserWithProfileAsync"}, // 17.0.0+ FunctionInfo{221, nullptr, "RegisterUserWithProfileAsync"}, // 17.0.0+
{230, nullptr, "RegisterUserWithLargeImageProfileAsync"}, // 18.0.0+ FunctionInfo{230, nullptr, "RegisterUserWithLargeImageProfileAsync"}, // 18.0.0+
}; };
// clang-format on // clang-format on
@@ -333,7 +332,7 @@ public:
: ServiceFramework{system_, "INotifier"} { : ServiceFramework{system_, "INotifier"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "GetSystemEvent"}, FunctionInfo{0, nullptr, "GetSystemEvent"}
}; };
// clang-format on // clang-format on
@@ -348,13 +347,13 @@ public:
: ServiceFramework{system_, name}, profile_manager{profile_manager_}, user_id{user_id_} { : ServiceFramework{system_, name}, profile_manager{profile_manager_}, user_id{user_id_} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &IProfileCommon::Get, "Get"}, FunctionInfo{0, &IProfileCommon::Get, "Get"},
{1, &IProfileCommon::GetBase, "GetBase"}, FunctionInfo{1, &IProfileCommon::GetBase, "GetBase"},
{10, &IProfileCommon::GetImageSize, "GetImageSize"}, FunctionInfo{10, &IProfileCommon::GetImageSize, "GetImageSize"},
{11, &IProfileCommon::LoadImage, "LoadImage"}, FunctionInfo{11, &IProfileCommon::LoadImage, "LoadImage"},
{20, &IProfileCommon::Unknown20, "Unknown20"}, FunctionInfo{20, &IProfileCommon::Unknown20, "Unknown20"},
{21, &IProfileCommon::Unknown21, "Unknown21"}, FunctionInfo{21, &IProfileCommon::Unknown21, "Unknown21"},
{30, &IProfileCommon::Unknown30, "Unknown30"} FunctionInfo{30, &IProfileCommon::Unknown30, "Unknown30"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -362,12 +361,11 @@ public:
if (editor_commands) { if (editor_commands) {
// clang-format off // clang-format off
static const FunctionInfo editor_functions[] = { static const FunctionInfo editor_functions[] = {
{100, &IProfileCommon::Store, "Store"}, FunctionInfo{100, &IProfileCommon::Store, "Store"},
{101, &IProfileCommon::StoreWithImage, "StoreWithImage"}, FunctionInfo{101, &IProfileCommon::StoreWithImage, "StoreWithImage"},
{110, &IProfileCommon::Unknown110, "Unknown110"} FunctionInfo{110, &IProfileCommon::Unknown110, "Unknown110"}
}; };
// clang-format on // clang-format on
RegisterHandlers(editor_functions); RegisterHandlers(editor_functions);
} }
} }
@@ -620,7 +618,7 @@ public:
: ServiceFramework{system_, "ISessionObject"} { : ServiceFramework{system_, "ISessionObject"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{999, nullptr, "Dummy"}, {999, nullptr, "Dummy"}
}; };
// clang-format on // clang-format on
@@ -694,7 +692,7 @@ public:
{136, &IManagerForApplication::GetNintendoAccountUserResourceCacheForApplication, "GetNintendoAccountUserResourceCache"}, // 19.0.0+ {136, &IManagerForApplication::GetNintendoAccountUserResourceCacheForApplication, "GetNintendoAccountUserResourceCache"}, // 19.0.0+
{150, nullptr, "CreateAuthorizationRequest"}, {150, nullptr, "CreateAuthorizationRequest"},
{160, &IManagerForApplication::StoreOpenContext, "StoreOpenContext"}, {160, &IManagerForApplication::StoreOpenContext, "StoreOpenContext"},
{170, nullptr, "LoadNetworkServiceLicenseKindAsync"}, {170, nullptr, "LoadNetworkServiceLicenseKindAsync"}
}; };
// clang-format on // clang-format on
@@ -784,7 +782,7 @@ public:
{1, nullptr, "Cancel"}, {1, nullptr, "Cancel"},
{2, nullptr, "HasDone"}, {2, nullptr, "HasDone"},
{3, nullptr, "GetResult"}, {3, nullptr, "GetResult"},
{4, nullptr, "GetNetworkServiceLicenseKind"}, {4, nullptr, "GetNetworkServiceLicenseKind"}
}; };
// clang-format on // clang-format on
@@ -842,7 +840,7 @@ public:
{21, nullptr, "LoadApplicationAuthenticationTokenCache"}, {21, nullptr, "LoadApplicationAuthenticationTokenCache"},
{22, nullptr, "LoadApplicationNetworkServiceClientConfigCache"}, {22, nullptr, "LoadApplicationNetworkServiceClientConfigCache"},
{23, nullptr, "IsApplicationAuthenticationCacheAvailable"}, {23, nullptr, "IsApplicationAuthenticationCacheAvailable"},
{24, nullptr, "InvalidateApplicationAuthenticationCache"}, {24, nullptr, "InvalidateApplicationAuthenticationCache"}
}; };
// clang-format on // clang-format on
@@ -860,7 +858,7 @@ public:
{0, nullptr, "GetResult"}, {0, nullptr, "GetResult"},
{1, nullptr, "Cancel"}, {1, nullptr, "Cancel"},
{2, nullptr, "IsAvailable"}, {2, nullptr, "IsAvailable"},
{3, nullptr, "GetSystemEvent"}, {3, nullptr, "GetSystemEvent"}
}; };
// clang-format on // clang-format on
@@ -1321,7 +1319,7 @@ public:
{910, nullptr, "RefreshFirmwareSettingsForDebug"}, {910, nullptr, "RefreshFirmwareSettingsForDebug"},
{997, nullptr, "DebugInvalidateTokenCacheForUser"}, {997, nullptr, "DebugInvalidateTokenCacheForUser"},
{998, nullptr, "DebugSetUserStateClose"}, {998, nullptr, "DebugSetUserStateClose"},
{999, nullptr, "DebugSetUserStateOpen"}, {999, nullptr, "DebugSetUserStateOpen"}
}; };
// clang-format on // clang-format on
@@ -1360,7 +1358,7 @@ public:
{140, &ACC_U0::InitializeApplicationInfoRestricted, "InitializeApplicationInfoRestricted"}, // 6.0.0+ {140, &ACC_U0::InitializeApplicationInfoRestricted, "InitializeApplicationInfoRestricted"}, // 6.0.0+
{141, &ACC_U0::ListQualifiedUsers, "ListQualifiedUsers"}, // 6.0.0+ {141, &ACC_U0::ListQualifiedUsers, "ListQualifiedUsers"}, // 6.0.0+
{150, &ACC_U0::IsUserAccountSwitchLocked, "IsUserAccountSwitchLocked"}, // 6.0.0+ {150, &ACC_U0::IsUserAccountSwitchLocked, "IsUserAccountSwitchLocked"}, // 6.0.0+
{160, &ACC_U0::InitializeApplicationInfoV2, "InitializeApplicationInfoV2"}, {160, &ACC_U0::InitializeApplicationInfoV2, "InitializeApplicationInfoV2"}
}; };
// clang-format on // clang-format on
@@ -1410,7 +1408,7 @@ public:
{402, nullptr, "GetPinCode"}, // 18.0.0+ {402, nullptr, "GetPinCode"}, // 18.0.0+
{997, nullptr, "DebugInvalidateTokenCacheForUser"}, {997, nullptr, "DebugInvalidateTokenCacheForUser"},
{998, nullptr, "DebugSetUserStateClose"}, {998, nullptr, "DebugSetUserStateClose"},
{999, nullptr, "DebugSetUserStateOpen"}, {999, nullptr, "DebugSetUserStateOpen"}
}; };
// clang-format on // clang-format on
@@ -1443,7 +1441,7 @@ public:
{33, nullptr, "InvalidateGameCardAuthenticationCache"}, {33, nullptr, "InvalidateGameCardAuthenticationCache"},
{1000, nullptr, "GetInactiveElicenseUsedEvent"}, {1000, nullptr, "GetInactiveElicenseUsedEvent"},
{9000, nullptr, "ImportVirtualClientCertificate"}, {9000, nullptr, "ImportVirtualClientCertificate"},
{9010, nullptr, "DeleteVirtualClientCertificate"}, {9010, nullptr, "DeleteVirtualClientCertificate"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -1532,7 +1530,7 @@ public:
{ 1000, nullptr, "CreateIAccountEntityServiceForApplication"}, { 1000, nullptr, "CreateIAccountEntityServiceForApplication"},
{ 1100, nullptr, "CreateIUserStateManager"}, { 1100, nullptr, "CreateIUserStateManager"},
{ 10050, nullptr, "IsUserRegistrationRequestPermittedForAccountPolicy"}, { 10050, nullptr, "IsUserRegistrationRequestPermittedForAccountPolicy"},
{ 10105, nullptr, "CheckNetworkServiceAvailabilityAsyncForAccountPolicy"}, { 10105, nullptr, "CheckNetworkServiceAvailabilityAsyncForAccountPolicy"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -1575,7 +1573,7 @@ public:
{191, nullptr, "UpdateNotificationReceiverInfo"}, {191, nullptr, "UpdateNotificationReceiverInfo"},
{997, nullptr, "DebugInvalidateTokenCacheForUser"}, {997, nullptr, "DebugInvalidateTokenCacheForUser"},
{998, nullptr, "DebugSetUserStateClose"}, {998, nullptr, "DebugSetUserStateClose"},
{999, nullptr, "DebugSetUserStateOpen"}, {999, nullptr, "DebugSetUserStateOpen"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -1625,7 +1623,7 @@ public:
{405, nullptr, "IsPinCodeVerificationForbidden"}, {405, nullptr, "IsPinCodeVerificationForbidden"},
{997, nullptr, "DebugInvalidateTokenCacheForUser"}, {997, nullptr, "DebugInvalidateTokenCacheForUser"},
{998, nullptr, "DebugSetUserStateClose"}, {998, nullptr, "DebugSetUserStateClose"},
{999, nullptr, "DebugSetUserStateOpen"}, {999, nullptr, "DebugSetUserStateOpen"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project // SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
@@ -17,7 +20,7 @@ IPurchaseEventManager::IPurchaseEventManager(Core::System& system_)
{1, D<&IPurchaseEventManager::SetDeliveryTarget>, "SetDeliveryTarget"}, {1, D<&IPurchaseEventManager::SetDeliveryTarget>, "SetDeliveryTarget"},
{2, D<&IPurchaseEventManager::GetPurchasedEvent>, "GetPurchasedEvent"}, {2, D<&IPurchaseEventManager::GetPurchasedEvent>, "GetPurchasedEvent"},
{3, D<&IPurchaseEventManager::PopPurchasedProductInfo>, "PopPurchasedProductInfo"}, {3, D<&IPurchaseEventManager::PopPurchasedProductInfo>, "PopPurchasedProductInfo"},
{4, D<&IPurchaseEventManager::PopPurchasedProductInfoWithUid>, "PopPurchasedProductInfoWithUid"}, {4, D<&IPurchaseEventManager::PopPurchasedProductInfoWithUid>, "PopPurchasedProductInfoWithUid"}
}; };
// clang-format on // clang-format on
+1 -1
View File
@@ -19,7 +19,7 @@ public:
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &ISession::SetPerformanceConfiguration, "SetPerformanceConfiguration"}, {0, &ISession::SetPerformanceConfiguration, "SetPerformanceConfiguration"},
{1, &ISession::GetPerformanceConfiguration, "GetPerformanceConfiguration"}, {1, &ISession::GetPerformanceConfiguration, "GetPerformanceConfiguration"},
{2, &ISession::SetCpuOverclockEnabled, "SetCpuOverclockEnabled"}, {2, &ISession::SetCpuOverclockEnabled, "SetCpuOverclockEnabled"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }
+10 -10
View File
@@ -29,7 +29,7 @@ public:
{2, nullptr, "GetProcessMasterVolume"}, {2, nullptr, "GetProcessMasterVolume"},
{3, nullptr, "SetProcessMasterVolume"}, {3, nullptr, "SetProcessMasterVolume"},
{4, nullptr, "GetProcessRecordVolume"}, {4, nullptr, "GetProcessRecordVolume"},
{5, nullptr, "SetProcessRecordVolume"}, {5, nullptr, "SetProcessRecordVolume"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -46,7 +46,7 @@ public:
{1, nullptr, "GetAppletStateSummaries"}, {1, nullptr, "GetAppletStateSummaries"},
{2, nullptr, "SetDspStatisticsParameter"}, {2, nullptr, "SetDspStatisticsParameter"},
{3, nullptr, "GetDspStatisticsParameter"}, {3, nullptr, "GetDspStatisticsParameter"},
{6, nullptr, "GetDspUsage"}, {6, nullptr, "GetDspUsage"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -62,7 +62,7 @@ public:
{0, nullptr, "RequestSuspend"}, {0, nullptr, "RequestSuspend"},
{1, nullptr, "RequestResume"}, {1, nullptr, "RequestResume"},
{2, nullptr, "GetProcessMasterVolume"}, {2, nullptr, "GetProcessMasterVolume"},
{3, nullptr, "SetProcessMasterVolume"}, {3, nullptr, "SetProcessMasterVolume"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -82,7 +82,7 @@ public:
{4, nullptr, "RegisterAppletResourceUserId"}, {4, nullptr, "RegisterAppletResourceUserId"},
{5, nullptr, "UnregisterAppletResourceUserId"}, {5, nullptr, "UnregisterAppletResourceUserId"},
{6, nullptr, "GetProcessRecordVolume"}, {6, nullptr, "GetProcessRecordVolume"},
{7, nullptr, "SetProcessRecordVolume"}, {7, nullptr, "SetProcessRecordVolume"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -96,7 +96,7 @@ public:
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "RequestSuspend"}, {0, nullptr, "RequestSuspend"},
{1, nullptr, "RequestResume"}, {1, nullptr, "RequestResume"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -110,7 +110,7 @@ public:
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "RequestSuspend"}, {0, nullptr, "RequestSuspend"},
{1, nullptr, "RequestResume"}, {1, nullptr, "RequestResume"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -124,7 +124,7 @@ public:
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "RequestSuspend"}, {0, nullptr, "RequestSuspend"},
{1, nullptr, "RequestResume"}, {1, nullptr, "RequestResume"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -138,7 +138,7 @@ public:
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "RequestSuspend"}, {0, nullptr, "RequestSuspend"},
{1, nullptr, "RequestResume"}, {1, nullptr, "RequestResume"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -161,7 +161,7 @@ public:
{7, nullptr, "SetAudioInputProcessMasterVolume"}, {7, nullptr, "SetAudioInputProcessMasterVolume"},
{8, nullptr, "GetAudioOutputProcessRecordVolume"}, {8, nullptr, "GetAudioOutputProcessRecordVolume"},
{9, nullptr, "SetAudioOutputProcessRecordVolume"}, {9, nullptr, "SetAudioOutputProcessRecordVolume"},
{10, nullptr, "GetAppletStateSummaries"}, {10, nullptr, "GetAppletStateSummaries"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -175,7 +175,7 @@ public:
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "RequestSuspendAudioForDebug"}, {0, nullptr, "RequestSuspendAudioForDebug"},
{1, nullptr, "RequestResumeAudioForDebug"}, {1, nullptr, "RequestResumeAudioForDebug"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project // SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
@@ -22,7 +25,7 @@ public:
{8, nullptr, "AppendFinalOutputRecorderBufferAuto"}, {8, nullptr, "AppendFinalOutputRecorderBufferAuto"},
{9, nullptr, "GetReleasedFinalOutputRecorderBufferAuto"}, {9, nullptr, "GetReleasedFinalOutputRecorderBufferAuto"},
{10, nullptr, "FlushFinalOutputRecorderBuffers"}, {10, nullptr, "FlushFinalOutputRecorderBuffers"},
{11, nullptr, "AttachWorkBuffer"}, {11, nullptr, "AttachWorkBuffer"}
}; };
// clang-format on // clang-format on
+6 -6
View File
@@ -32,7 +32,7 @@ public:
{12, nullptr, "GetLastEnabledWakeupTimerType"}, {12, nullptr, "GetLastEnabledWakeupTimerType"},
{13, nullptr, "CleanAllWakeupTimers"}, {13, nullptr, "CleanAllWakeupTimers"},
{14, nullptr, "GetPowerButton"}, {14, nullptr, "GetPowerButton"},
{15, nullptr, "SetEnableWakeupTimer"}, {15, nullptr, "SetEnableWakeupTimer"}
}; };
// clang-format on // clang-format on
@@ -49,7 +49,7 @@ public:
{1, nullptr, "SetRtcTime"}, {1, nullptr, "SetRtcTime"},
{2, nullptr, "GetRtcResetDetected"}, {2, nullptr, "GetRtcResetDetected"},
{3, nullptr, "ClearRtcResetDetected"}, {3, nullptr, "ClearRtcResetDetected"},
{4, nullptr, "SetUpRtcResetOnShutdown"}, {4, nullptr, "SetUpRtcResetOnShutdown"}
}; };
// clang-format on // clang-format on
@@ -67,7 +67,7 @@ public:
{2, nullptr, "GetWakeupReason"}, {2, nullptr, "GetWakeupReason"},
{3, nullptr, "GetShutdownReason"}, {3, nullptr, "GetShutdownReason"},
{4, nullptr, "GetAcOk"}, {4, nullptr, "GetAcOk"},
{5, nullptr, "GetPowerEvent"}, {5, nullptr, "GetPowerEvent"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -80,7 +80,7 @@ public:
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "GetSleepButtonState"}, {0, nullptr, "GetSleepButtonState"},
{1, nullptr, "GetPowerButtonEvent"}, {1, nullptr, "GetPowerButtonEvent"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -94,7 +94,7 @@ public:
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "CreateWakeupTimer"}, {0, nullptr, "CreateWakeupTimer"},
{1, nullptr, "CancelWakeupTimer"}, {1, nullptr, "CancelWakeupTimer"},
{2, nullptr, "EnableWakeupTimerOnDevice"}, {2, nullptr, "EnableWakeupTimerOnDevice"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -107,7 +107,7 @@ public:
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{65000, nullptr, "RebootToFatalError"}, {65000, nullptr, "RebootToFatalError"},
{65001, nullptr, "SetRebootPayload"}, {65001, nullptr, "SetRebootPayload"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
+2 -2
View File
@@ -32,7 +32,7 @@ public:
{6, nullptr, "SetLeResponse"}, {6, nullptr, "SetLeResponse"},
{7, nullptr, "LeSendIndication"}, {7, nullptr, "LeSendIndication"},
{8, nullptr, "GetLeEventInfo"}, {8, nullptr, "GetLeEventInfo"},
{9, C<&IBluetoothUser::RegisterBleEvent>, "RegisterBleEvent"}, {9, C<&IBluetoothUser::RegisterBleEvent>, "RegisterBleEvent"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -192,7 +192,7 @@ public:
{154, nullptr, "IsAudioSinkVolumeSupported"}, {154, nullptr, "IsAudioSinkVolumeSupported"},
{256, nullptr, "IsManufacturingMode"}, {256, nullptr, "IsManufacturingMode"},
{257, nullptr, "EmulateBluetoothCrash"}, {257, nullptr, "EmulateBluetoothCrash"},
{258, nullptr, "GetBleChannelMap"}, {258, nullptr, "GetBleChannelMap"}
}; };
// clang-format on // clang-format on
+1 -1
View File
@@ -25,7 +25,7 @@ public:
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{3001, nullptr, "DecodeJpeg"}, {3001, nullptr, "DecodeJpeg"},
{4001, nullptr, "ShrinkJpeg"}, {4001, nullptr, "ShrinkJpeg"},
{4002, nullptr, "ShrinkJpegEx"}, {4002, nullptr, "ShrinkJpegEx"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
+2 -2
View File
@@ -36,7 +36,7 @@ public:
{20, nullptr, "RegisterRunningApplet"}, {20, nullptr, "RegisterRunningApplet"},
{21, nullptr, "UnregisterRunningApplet"}, {21, nullptr, "UnregisterRunningApplet"},
{22, nullptr, "UpdateAppletSuspendedDuration"}, {22, nullptr, "UpdateAppletSuspendedDuration"},
{30, nullptr, "InvalidateForcedShutdownDetection"}, {30, nullptr, "InvalidateForcedShutdownDetection"}
}; };
// clang-format on // clang-format on
@@ -94,7 +94,7 @@ public:
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "OpenReport"}, {0, nullptr, "OpenReport"},
{1, nullptr, "OpenManager"}, {1, nullptr, "OpenManager"},
{2, nullptr, "OpenAttachment"}, {2, nullptr, "OpenAttachment"}
}; };
// clang-format on // clang-format on
+3 -3
View File
@@ -114,7 +114,7 @@ public:
{2502, nullptr, "Unknown2502"}, {2502, nullptr, "Unknown2502"},
{2601, nullptr, "Unknown2601"}, {2601, nullptr, "Unknown2601"},
{3001, nullptr, "Unknown3001"}, {3001, nullptr, "Unknown3001"},
{3002, nullptr, "Unknown3002"}, {3002, nullptr, "Unknown3002"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -330,7 +330,7 @@ public:
{2, nullptr, "Cmd2"}, {2, nullptr, "Cmd2"},
{3, nullptr, "Cmd3"}, {3, nullptr, "Cmd3"},
{1000, nullptr, "Cmd1000"}, {1000, nullptr, "Cmd1000"},
{8000, nullptr, "Cmd8000"}, {8000, nullptr, "Cmd8000"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -396,7 +396,7 @@ public:
{8000, nullptr, "Cmd8000"}, {8000, nullptr, "Cmd8000"},
{8001, nullptr, "Cmd8001"}, {8001, nullptr, "Cmd8001"},
{8002, nullptr, "Cmd8002"}, {8002, nullptr, "Cmd8002"},
{8003, nullptr, "Cmd8003"}, {8003, nullptr, "Cmd8003"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
+5 -2
View File
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project // SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
@@ -18,7 +21,7 @@ public:
{1, nullptr, "ImportCrt"}, {1, nullptr, "ImportCrt"},
{2, nullptr, "ImportPki"}, {2, nullptr, "ImportPki"},
{3, nullptr, "SetAutoUpload"}, {3, nullptr, "SetAutoUpload"},
{4, nullptr, "GetAutoUpload"}, {4, nullptr, "GetAutoUpload"}
}; };
// clang-format on // clang-format on
@@ -36,7 +39,7 @@ public:
{2, nullptr, "UploadSelected"}, {2, nullptr, "UploadSelected"},
{3, nullptr, "GetUploadStatus"}, {3, nullptr, "GetUploadStatus"},
{4, nullptr, "CancelUpload"}, {4, nullptr, "CancelUpload"},
{5, nullptr, "GetResult"}, {5, nullptr, "GetResult"}
}; };
// clang-format on // clang-format on
+3 -3
View File
@@ -22,7 +22,7 @@ public:
{0, nullptr, "Initialize"}, {0, nullptr, "Initialize"},
{1, nullptr, "Set"}, {1, nullptr, "Set"},
{2, nullptr, "Get"}, {2, nullptr, "Get"},
{3, nullptr, "Cancel"}, {3, nullptr, "Cancel"}
}; };
// clang-format on // clang-format on
@@ -35,7 +35,7 @@ public:
explicit FGM(Core::System& system_, const char* name) : ServiceFramework{system_, name} { explicit FGM(Core::System& system_, const char* name) : ServiceFramework{system_, name} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &FGM::Initialize, "Initialize"}, {0, &FGM::Initialize, "Initialize"}
}; };
// clang-format on // clang-format on
@@ -59,7 +59,7 @@ public:
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "Initialize"}, {0, nullptr, "Initialize"},
{1, nullptr, "Read"}, {1, nullptr, "Read"},
{2, nullptr, "Cancel"}, {2, nullptr, "Cancel"}
}; };
// clang-format on // clang-format on
+3 -3
View File
@@ -135,7 +135,7 @@ public:
{31000, nullptr, "OpenUser"}, // 19.0.0+ {31000, nullptr, "OpenUser"}, // 19.0.0+
{40100, nullptr, "DeleteFriendListCache"}, {40100, nullptr, "DeleteFriendListCache"},
{40400, nullptr, "DeleteBlockedUserListCache"}, {40400, nullptr, "DeleteBlockedUserListCache"},
{49900, nullptr, "DeleteNetworkServiceAccountCache"}, {49900, nullptr, "DeleteNetworkServiceAccountCache"}
}; };
// clang-format on // clang-format on
@@ -504,7 +504,7 @@ public:
{ {
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "GetReceivableNeighborInfoCountMax"}, {0, nullptr, "GetReceivableNeighborInfoCountMax"},
{10, nullptr, "IsNeighborDetectionEnabled"}, {10, nullptr, "IsNeighborDetectionEnabled"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }
@@ -552,7 +552,7 @@ public:
{309, nullptr, "ListApplicationInfoForDebug"}, {309, nullptr, "ListApplicationInfoForDebug"},
{310, nullptr, "SetApplicationDataForDebug"}, {310, nullptr, "SetApplicationDataForDebug"},
{400, nullptr, "GetNetworkUserId"}, {400, nullptr, "GetNetworkUserId"},
{401, nullptr, "DeleteNetworkUserId"}, {401, nullptr, "DeleteNetworkUserId"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }
+2 -2
View File
@@ -169,7 +169,7 @@ public:
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &IRegistrar::Issue, "Issue"}, {0, &IRegistrar::Issue, "Issue"},
{1, &IRegistrar::SetApplicationLaunchProperty, "SetApplicationLaunchProperty"}, {1, &IRegistrar::SetApplicationLaunchProperty, "SetApplicationLaunchProperty"},
{2, &IRegistrar::SetApplicationControlProperty, "SetApplicationControlProperty"}, {2, &IRegistrar::SetApplicationControlProperty, "SetApplicationControlProperty"}
}; };
// clang-format on // clang-format on
@@ -250,7 +250,7 @@ ARP_W::ARP_W(Core::System& system_, ARPManager& manager_)
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &ARP_W::AcquireRegistrar, "AcquireRegistrar"}, {0, &ARP_W::AcquireRegistrar, "AcquireRegistrar"},
{1, &ARP_W::UnregisterApplicationInstance , "UnregisterApplicationInstance "}, {1, &ARP_W::UnregisterApplicationInstance , "UnregisterApplicationInstance "},
{2, nullptr, "AcquireUpdater"}, {2, nullptr, "AcquireUpdater"}
}; };
// clang-format on // clang-format on
+1 -1
View File
@@ -15,7 +15,7 @@ public:
IContextRegistrar(Core::System& system_) : ServiceFramework{system_, "IContextRegistrar"} { IContextRegistrar(Core::System& system_) : ServiceFramework{system_, "IContextRegistrar"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &IContextRegistrar::Complete, "Complete"}, {0, &IContextRegistrar::Complete, "Complete"}
}; };
// clang-format on // clang-format on
+1 -1
View File
@@ -182,7 +182,7 @@ public:
service_context{system_, "INotificationSystemEventAccessor"} { service_context{system_, "INotificationSystemEventAccessor"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, D<&INotificationSystemEventAccessor::GetSystemEvent>, "GetSystemEvent"}, {0, D<&INotificationSystemEventAccessor::GetSystemEvent>, "GetSystemEvent"}
}; };
// clang-format on // clang-format on
+4 -1
View File
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project // SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
@@ -49,7 +52,7 @@ StaticService::StaticService(Core::System& system_,
{400, D<&StaticService::GetClockSnapshot>, "GetClockSnapshot"}, {400, D<&StaticService::GetClockSnapshot>, "GetClockSnapshot"},
{401, D<&StaticService::GetClockSnapshotFromSystemClockContext>, "GetClockSnapshotFromSystemClockContext"}, {401, D<&StaticService::GetClockSnapshotFromSystemClockContext>, "GetClockSnapshotFromSystemClockContext"},
{500, D<&StaticService::CalculateStandardUserSystemClockDifferenceByUser>, "CalculateStandardUserSystemClockDifferenceByUser"}, {500, D<&StaticService::CalculateStandardUserSystemClockDifferenceByUser>, "CalculateStandardUserSystemClockDifferenceByUser"},
{501, D<&StaticService::CalculateSpanBetween>, "CalculateSpanBetween"}, {501, D<&StaticService::CalculateSpanBetween>, "CalculateSpanBetween"}
}; };
// clang-format on // clang-format on
+1 -1
View File
@@ -17,7 +17,7 @@ public:
: ServiceFramework{system_, "gpio"} : ServiceFramework{system_, "gpio"}
{ {
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "Cmd0"}, {0, nullptr, "Cmd0"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }
+1 -1
View File
@@ -36,7 +36,7 @@ public:
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{1, nullptr, "Initialize"}, {1, nullptr, "Initialize"},
{2, nullptr, "Transfer"}, {2, nullptr, "Transfer"},
{3, nullptr, "Cmd3"}, {3, nullptr, "Cmd3"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -19,7 +19,7 @@ IActiveVibrationDeviceList::IActiveVibrationDeviceList(Core::System& system_,
: ServiceFramework{system_, "IActiveVibrationDeviceList"}, resource_manager(resource) { : ServiceFramework{system_, "IActiveVibrationDeviceList"}, resource_manager(resource) {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, C<&IActiveVibrationDeviceList::ActivateVibrationDevice>, "ActivateVibrationDevice"}, {0, C<&IActiveVibrationDeviceList::ActivateVibrationDevice>, "ActivateVibrationDevice"}
}; };
// clang-format on // clang-format on
+3 -3
View File
@@ -25,7 +25,7 @@ public:
: ServiceFramework{system_, "hid:tmp"} { : ServiceFramework{system_, "hid:tmp"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "GetConsoleSixAxisSensorCalibrationValues"}, {0, nullptr, "GetConsoleSixAxisSensorCalibrationValues"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -43,7 +43,7 @@ public:
{1, nullptr, "ReleaseDevice"}, {1, nullptr, "ReleaseDevice"},
{2, nullptr, "GetCtrlSession"}, {2, nullptr, "GetCtrlSession"},
{3, nullptr, "GetReadSession"}, {3, nullptr, "GetReadSession"},
{4, nullptr, "GetWriteSession"}, {4, nullptr, "GetWriteSession"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -62,7 +62,7 @@ public:
{2, nullptr, "GetDeviceParameters"}, {2, nullptr, "GetDeviceParameters"},
{3, nullptr, "AttachDevice"}, {3, nullptr, "AttachDevice"},
{4, nullptr, "DetachDevice"}, {4, nullptr, "DetachDevice"},
{5, nullptr, "SetDeviceFilter"}, {5, nullptr, "SetDeviceFilter"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
+2 -2
View File
@@ -27,7 +27,7 @@ public:
{10, C<&I2CSession::Send>, "Send"}, {10, C<&I2CSession::Send>, "Send"},
{11, nullptr, "Receive"}, {11, nullptr, "Receive"},
{12, nullptr, "ExecuteCommandList"}, {12, nullptr, "ExecuteCommandList"},
{13, nullptr, "SetRetryPolicy"}, {13, nullptr, "SetRetryPolicy"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }
@@ -53,7 +53,7 @@ public:
{1, C<&I2C::OpenSession>, "OpenSession"}, {1, C<&I2C::OpenSession>, "OpenSession"},
{2, C<&I2C::HasDevice>, "HasDevice"}, {2, C<&I2C::HasDevice>, "HasDevice"},
{3, C<&I2C::HasDeviceForDev>, "HasDeviceForDev"}, {3, C<&I2C::HasDeviceForDev>, "HasDeviceForDev"},
{4, C<&I2C::OpenSession2>, "OpenSession2"}, {4, C<&I2C::OpenSession2>, "OpenSession2"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }
+2 -2
View File
@@ -43,7 +43,7 @@ public:
{0, C<&IJitEnvironment::GenerateCode>, "GenerateCode"}, {0, C<&IJitEnvironment::GenerateCode>, "GenerateCode"},
{1, C<&IJitEnvironment::Control>, "Control"}, {1, C<&IJitEnvironment::Control>, "Control"},
{1000, C<&IJitEnvironment::LoadPlugin>, "LoadPlugin"}, {1000, C<&IJitEnvironment::LoadPlugin>, "LoadPlugin"},
{1001, C<&IJitEnvironment::GetCodeAddress>, "GetCodeAddress"}, {1001, C<&IJitEnvironment::GetCodeAddress>, "GetCodeAddress"}
}; };
// clang-format on // clang-format on
@@ -261,7 +261,7 @@ public:
explicit JITU(Core::System& system_) : ServiceFramework{system_, "jit:u"} { explicit JITU(Core::System& system_) : ServiceFramework{system_, "jit:u"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, C<&JITU::CreateJitEnvironment>, "CreateJitEnvironment"}, {0, C<&JITU::CreateJitEnvironment>, "CreateJitEnvironment"}
}; };
// clang-format on // clang-format on
+1 -1
View File
@@ -50,7 +50,7 @@ public:
{26, &LBL::EnableVrMode, "EnableVrMode"}, {26, &LBL::EnableVrMode, "EnableVrMode"},
{27, &LBL::DisableVrMode, "DisableVrMode"}, {27, &LBL::DisableVrMode, "DisableVrMode"},
{28, &LBL::IsVrModeEnabled, "IsVrModeEnabled"}, {28, &LBL::IsVrModeEnabled, "IsVrModeEnabled"},
{29, &LBL::IsAutoBrightnessControlSupported, "IsAutoBrightnessControlSupported"}, {29, &LBL::IsAutoBrightnessControlSupported, "IsAutoBrightnessControlSupported"}
}; };
// clang-format on // clang-format on
+3 -3
View File
@@ -23,7 +23,7 @@ public:
: ServiceFramework{system_, "IClientProcessMonitor"} { : ServiceFramework{system_, "IClientProcessMonitor"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, D<&IClientProcessMonitor::RegisterClient>, "RegisterClient"}, {0, D<&IClientProcessMonitor::RegisterClient>, "RegisterClient"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -125,7 +125,7 @@ public:
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, C<&ISfServiceCreator::CreateNetworkService>, "CreateNetworkService"}, {0, C<&ISfServiceCreator::CreateNetworkService>, "CreateNetworkService"},
{8, C<&ISfServiceCreator::CreateNetworkServiceMonitor>, "CreateNetworkServiceMonitor"}, {8, C<&ISfServiceCreator::CreateNetworkServiceMonitor>, "CreateNetworkServiceMonitor"}
}; };
// clang-format on // clang-format on
@@ -158,7 +158,7 @@ public:
explicit ISfMonitorServiceCreator(Core::System& system_) : ServiceFramework{system_, "lp2p:m"} { explicit ISfMonitorServiceCreator(Core::System& system_) : ServiceFramework{system_, "lp2p:m"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, C<&ISfMonitorServiceCreator::CreateMonitorService>, "CreateMonitorService"}, {0, C<&ISfMonitorServiceCreator::CreateMonitorService>, "CreateMonitorService"}
}; };
// clang-format on // clang-format on
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project // SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-License-Identifier: GPL-3.0-or-later
@@ -13,7 +16,7 @@ ISfMonitorService::ISfMonitorService(Core::System& system_)
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, C<&ISfMonitorService::Initialize>, "Initialize"}, {0, C<&ISfMonitorService::Initialize>, "Initialize"},
{288, C<&ISfMonitorService::GetGroupInfo>, "GetGroupInfo"}, {288, C<&ISfMonitorService::GetGroupInfo>, "GetGroupInfo"},
{320, nullptr, "GetLinkLevel"}, {320, nullptr, "GetLinkLevel"}
}; };
// clang-format on // clang-format on
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project // SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-License-Identifier: GPL-3.0-or-later
@@ -23,7 +26,7 @@ ISfServiceMonitor::ISfServiceMonitor(Core::System& system_)
{312, nullptr, "GetIpConfig"}, {312, nullptr, "GetIpConfig"},
{320, nullptr, "GetLinkLevel"}, {320, nullptr, "GetLinkLevel"},
{328, nullptr, "AttachJoinEvent"}, {328, nullptr, "AttachJoinEvent"},
{336, nullptr, "GetMembers"}, {336, nullptr, "GetMembers"}
}; };
// clang-format on // clang-format on
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project // SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-License-Identifier: GPL-3.0-or-later
@@ -39,7 +42,7 @@ ISystemLocalCommunicationService::ISystemLocalCommunicationService(Core::System&
{400, nullptr, "InitializeSystem"}, {400, nullptr, "InitializeSystem"},
{401, nullptr, "FinalizeSystem"}, {401, nullptr, "FinalizeSystem"},
{402, nullptr, "SetOperationMode"}, {402, nullptr, "SetOperationMode"},
{403, C<&ISystemLocalCommunicationService::InitializeSystem2>, "InitializeSystem2"}, {403, C<&ISystemLocalCommunicationService::InitializeSystem2>, "InitializeSystem2"}
}; };
// clang-format on // clang-format on
@@ -56,7 +56,7 @@ IUserLocalCommunicationService::IUserLocalCommunicationService(Core::System& sys
{304, D<&IUserLocalCommunicationService::Disconnect>, "Disconnect"}, {304, D<&IUserLocalCommunicationService::Disconnect>, "Disconnect"},
{400, D<&IUserLocalCommunicationService::Initialize>, "Initialize"}, {400, D<&IUserLocalCommunicationService::Initialize>, "Initialize"},
{401, D<&IUserLocalCommunicationService::Finalize>, "Finalize"}, {401, D<&IUserLocalCommunicationService::Finalize>, "Finalize"},
{402, D<&IUserLocalCommunicationService::Initialize2>, "Initialize2"}, {402, D<&IUserLocalCommunicationService::Initialize2>, "Initialize2"}
}; };
// clang-format on // clang-format on
+3 -3
View File
@@ -17,7 +17,7 @@ public:
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "SetProgramArgument"}, {0, nullptr, "SetProgramArgument"},
{1, nullptr, "FlushArguments"}, {1, nullptr, "FlushArguments"},
{2, nullptr, "GetProcessModuleInfo"}, {2, nullptr, "GetProcessModuleInfo"}
}; };
// clang-format on // clang-format on
@@ -34,7 +34,7 @@ public:
{1, nullptr, "GetProgramInfo"}, {1, nullptr, "GetProgramInfo"},
{2, nullptr, "PinProgram"}, {2, nullptr, "PinProgram"},
{3, nullptr, "UnpinProgram"}, {3, nullptr, "UnpinProgram"},
{4, nullptr, "SetEnabledProgramVerification"}, {4, nullptr, "SetEnabledProgramVerification"}
}; };
// clang-format on // clang-format on
@@ -48,7 +48,7 @@ public:
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "SetProgramArgument"}, {0, nullptr, "SetProgramArgument"},
{1, nullptr, "FlushArguments"}, {1, nullptr, "FlushArguments"}
}; };
// clang-format on // clang-format on
+2 -2
View File
@@ -340,7 +340,7 @@ public:
explicit LM(Core::System& system_) : ServiceFramework{system_, "lm"} { explicit LM(Core::System& system_) : ServiceFramework{system_, "lm"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &LM::OpenLogger, "OpenLogger"}, {0, &LM::OpenLogger, "OpenLogger"}
}; };
// clang-format on // clang-format on
@@ -366,7 +366,7 @@ public:
{0, nullptr, "StartLogging"}, {0, nullptr, "StartLogging"},
{1, nullptr, "StopLogging"}, {1, nullptr, "StopLogging"},
{2, nullptr, "GetLog"}, {2, nullptr, "GetLog"},
{100, nullptr, "CreateDevNotificationReceiver"}, {100, nullptr, "CreateDevNotificationReceiver"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }
+2 -2
View File
@@ -56,7 +56,7 @@ public:
{23, D<&IDatabaseService::Convert>, "Convert"}, {23, D<&IDatabaseService::Convert>, "Convert"},
{24, D<&IDatabaseService::ConvertCoreDataToCharInfo>, "ConvertCoreDataToCharInfo"}, {24, D<&IDatabaseService::ConvertCoreDataToCharInfo>, "ConvertCoreDataToCharInfo"},
{25, D<&IDatabaseService::ConvertCharInfoToCoreData>, "ConvertCharInfoToCoreData"}, {25, D<&IDatabaseService::ConvertCharInfoToCoreData>, "ConvertCharInfoToCoreData"},
{26, D<&IDatabaseService::Append>, "Append"}, {26, D<&IDatabaseService::Append>, "Append"}
}; };
// clang-format on // clang-format on
@@ -340,7 +340,7 @@ public:
{101, nullptr, "DestroyFile"}, {101, nullptr, "DestroyFile"},
{102, nullptr, "ImportFile"}, {102, nullptr, "ImportFile"},
{103, nullptr, "ExportFile"}, {103, nullptr, "ExportFile"},
{104, nullptr, "ForceInitialize"}, {104, nullptr, "ForceInitialize"}
}; };
// clang-format on // clang-format on
+1 -1
View File
@@ -59,7 +59,7 @@ public:
{4, &MM_U::Initialize, "Initialize"}, {4, &MM_U::Initialize, "Initialize"},
{5, &MM_U::Finalize, "Finalize"}, {5, &MM_U::Finalize, "Finalize"},
{6, &MM_U::SetAndWait, "SetAndWait"}, {6, &MM_U::SetAndWait, "SetAndWait"},
{7, &MM_U::Get, "Get"}, {7, &MM_U::Get, "Get"}
}; };
// clang-format on // clang-format on
+3 -3
View File
@@ -18,7 +18,7 @@ public:
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &MNPP_APP::Cmd0, "Cmd0"}, {0, &MNPP_APP::Cmd0, "Cmd0"},
{1, &MNPP_APP::Cmd1, "Cmd1"}, {1, &MNPP_APP::Cmd1, "Cmd1"}
}; };
// clang-format on // clang-format on
@@ -51,7 +51,7 @@ public:
{100, nullptr, "Cmd100"}, {100, nullptr, "Cmd100"},
{200, nullptr, "Cmd200"}, {200, nullptr, "Cmd200"},
{300, nullptr, "Cmd300"}, {300, nullptr, "Cmd300"},
{400, nullptr, "Cmd400"}, {400, nullptr, "Cmd400"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -67,7 +67,7 @@ public:
{1, nullptr, "Cmd1"}, {1, nullptr, "Cmd1"},
{10, nullptr, "Cmd10"}, {10, nullptr, "Cmd10"},
{20, nullptr, "Cmd20"}, {20, nullptr, "Cmd20"},
{100, nullptr, "Cmd100"}, {100, nullptr, "Cmd100"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
+8 -8
View File
@@ -46,7 +46,7 @@ public:
{16, nullptr, "ResolveProgramPathForDebug"}, {16, nullptr, "ResolveProgramPathForDebug"},
{17, nullptr, "RedirectProgramPathForDebug"}, {17, nullptr, "RedirectProgramPathForDebug"},
{18, nullptr, "RedirectApplicationProgramPathForDebug"}, {18, nullptr, "RedirectApplicationProgramPathForDebug"},
{19, nullptr, "EraseProgramRedirectionForDebug"}, {19, nullptr, "EraseProgramRedirectionForDebug"}
}; };
// clang-format on // clang-format on
@@ -72,7 +72,7 @@ public:
{6, nullptr, "UnregisterHtmlDocumentPath"}, {6, nullptr, "UnregisterHtmlDocumentPath"},
{7, nullptr, "RedirectHtmlDocumentPath"}, {7, nullptr, "RedirectHtmlDocumentPath"},
{8, nullptr, "Refresh"}, {8, nullptr, "Refresh"},
{9, nullptr, "RefreshExcluding"}, {9, nullptr, "RefreshExcluding"}
}; };
// clang-format on // clang-format on
@@ -90,7 +90,7 @@ public:
{1, nullptr, "RegisterAddOnContentStorage"}, {1, nullptr, "RegisterAddOnContentStorage"},
{2, nullptr, "UnregisterAllAddOnContentPath"}, {2, nullptr, "UnregisterAllAddOnContentPath"},
{3, nullptr, "RefreshApplicationAddOnContent"}, {3, nullptr, "RefreshApplicationAddOnContent"},
{4, nullptr, "UnregisterApplicationAddOnContent"}, {4, nullptr, "UnregisterApplicationAddOnContent"}
}; };
// clang-format on // clang-format on
@@ -109,7 +109,7 @@ public:
{2, &IContentStorage::DeletePlaceHolder, "DeletePlaceHolder"}, {2, &IContentStorage::DeletePlaceHolder, "DeletePlaceHolder"},
{4, &IContentStorage::WritePlaceHolder, "WritePlaceHolder"}, {4, &IContentStorage::WritePlaceHolder, "WritePlaceHolder"},
{5, &IContentStorage::Register, "Register"}, {5, &IContentStorage::Register, "Register"},
{6, &IContentStorage::Delete, "Delete"}, {6, &IContentStorage::Delete, "Delete"}
}; };
// clang-format on // clang-format on
@@ -264,7 +264,7 @@ public:
{0, &IContentMetaDatabase::Set, "Set"}, {0, &IContentMetaDatabase::Set, "Set"},
{2, &IContentMetaDatabase::Remove, "Remove"}, {2, &IContentMetaDatabase::Remove, "Remove"},
{8, &IContentMetaDatabase::Has, "Has"}, {8, &IContentMetaDatabase::Has, "Has"},
{15, &IContentMetaDatabase::Commit, "Commit"}, {15, &IContentMetaDatabase::Commit, "Commit"}
}; };
// clang-format on // clang-format on
@@ -368,7 +368,7 @@ public:
{0, nullptr, "OpenLocationResolver"}, {0, nullptr, "OpenLocationResolver"},
{1, nullptr, "OpenRegisteredLocationResolver"}, {1, nullptr, "OpenRegisteredLocationResolver"},
{2, nullptr, "RefreshLocationResolver"}, {2, nullptr, "RefreshLocationResolver"},
{3, nullptr, "OpenAddOnContentLocationResolver"}, {3, nullptr, "OpenAddOnContentLocationResolver"}
}; };
// clang-format on // clang-format on
@@ -396,7 +396,7 @@ public:
{12, nullptr, "InactivateContentMetaDatabase"}, {12, nullptr, "InactivateContentMetaDatabase"},
{13, nullptr, "InvalidateRightsIdCache"}, {13, nullptr, "InvalidateRightsIdCache"},
{14, nullptr, "GetMemoryReport"}, {14, nullptr, "GetMemoryReport"},
{15, nullptr, "ActivateFsContentStorage"}, {15, nullptr, "ActivateFsContentStorage"}
}; };
// clang-format on // clang-format on
@@ -433,7 +433,7 @@ public:
: ServiceFramework{system_, "ncm:v"} : ServiceFramework{system_, "ncm:v"}
{ {
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "GetSystemVersion"}, {0, nullptr, "GetSystemVersion"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }
+8 -8
View File
@@ -42,7 +42,7 @@ public:
{1001, &NfcInterface::WriteMifare ,"WriteMifare"}, {1001, &NfcInterface::WriteMifare ,"WriteMifare"},
{1300, &NfcInterface::SendCommandByPassThrough, "SendCommandByPassThrough"}, {1300, &NfcInterface::SendCommandByPassThrough, "SendCommandByPassThrough"},
{1301, nullptr, "KeepPassThroughSession"}, {1301, nullptr, "KeepPassThroughSession"},
{1302, nullptr, "ReleasePassThroughSession"}, {1302, nullptr, "ReleasePassThroughSession"}
}; };
// clang-format on // clang-format on
@@ -80,7 +80,7 @@ public:
{1001, &NfcInterface::WriteMifare, "WriteMifare"}, {1001, &NfcInterface::WriteMifare, "WriteMifare"},
{1300, &NfcInterface::SendCommandByPassThrough, "SendCommandByPassThrough"}, {1300, &NfcInterface::SendCommandByPassThrough, "SendCommandByPassThrough"},
{1301, nullptr, "KeepPassThroughSession"}, {1301, nullptr, "KeepPassThroughSession"},
{1302, nullptr, "ReleasePassThroughSession"}, {1302, nullptr, "ReleasePassThroughSession"}
}; };
// clang-format on // clang-format on
@@ -110,7 +110,7 @@ public:
{10, &MFIUser::GetState, "GetState"}, {10, &MFIUser::GetState, "GetState"},
{11, &MFIUser::GetDeviceState, "GetDeviceState"}, {11, &MFIUser::GetDeviceState, "GetDeviceState"},
{12, &MFIUser::GetNpadId, "GetNpadId"}, {12, &MFIUser::GetNpadId, "GetNpadId"},
{13, &MFIUser::AttachAvailabilityChangeEvent, "GetAvailabilityChangeEventHandle"}, {13, &MFIUser::AttachAvailabilityChangeEvent, "GetAvailabilityChangeEventHandle"}
}; };
// clang-format on // clang-format on
@@ -125,7 +125,7 @@ public:
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "Initialize"}, {0, nullptr, "Initialize"},
{1, nullptr, "Finalize"}, {1, nullptr, "Finalize"},
{2, nullptr, "NotifyForegroundApplet"}, {2, nullptr, "NotifyForegroundApplet"}
}; };
// clang-format on // clang-format on
@@ -138,7 +138,7 @@ public:
explicit NFC_AM(Core::System& system_) : ServiceFramework{system_, "nfc:am"} { explicit NFC_AM(Core::System& system_) : ServiceFramework{system_, "nfc:am"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &NFC_AM::CreateAmNfcInterface, "CreateAmNfcInterface"}, {0, &NFC_AM::CreateAmNfcInterface, "CreateAmNfcInterface"}
}; };
// clang-format on // clang-format on
@@ -160,7 +160,7 @@ public:
explicit NFC_MF_U(Core::System& system_) : ServiceFramework{system_, "nfc:mf:u"} { explicit NFC_MF_U(Core::System& system_) : ServiceFramework{system_, "nfc:mf:u"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &NFC_MF_U::CreateUserNfcInterface, "CreateUserNfcInterface"}, {0, &NFC_MF_U::CreateUserNfcInterface, "CreateUserNfcInterface"}
}; };
// clang-format on // clang-format on
@@ -182,7 +182,7 @@ public:
explicit NFC_U(Core::System& system_) : ServiceFramework{system_, "nfc:user"} { explicit NFC_U(Core::System& system_) : ServiceFramework{system_, "nfc:user"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &NFC_U::CreateUserNfcInterface, "CreateUserNfcInterface"}, {0, &NFC_U::CreateUserNfcInterface, "CreateUserNfcInterface"}
}; };
// clang-format on // clang-format on
@@ -204,7 +204,7 @@ public:
explicit NFC_SYS(Core::System& system_) : ServiceFramework{system_, "nfc:sys"} { explicit NFC_SYS(Core::System& system_) : ServiceFramework{system_, "nfc:sys"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &NFC_SYS::CreateSystemNfcInterface, "CreateSystemNfcInterface"}, {0, &NFC_SYS::CreateSystemNfcInterface, "CreateSystemNfcInterface"}
}; };
// clang-format on // clang-format on
+6 -6
View File
@@ -42,7 +42,7 @@ public:
{22, &IUser::GetApplicationAreaSize, "GetApplicationAreaSize"}, {22, &IUser::GetApplicationAreaSize, "GetApplicationAreaSize"},
{23, &IUser::AttachAvailabilityChangeEvent, "AttachAvailabilityChangeEvent"}, {23, &IUser::AttachAvailabilityChangeEvent, "AttachAvailabilityChangeEvent"},
{24, &IUser::RecreateApplicationArea, "RecreateApplicationArea"}, {24, &IUser::RecreateApplicationArea, "RecreateApplicationArea"},
{25, &IUser::StartDetection, "StartDetectionWithFilter"}, {25, &IUser::StartDetection, "StartDetectionWithFilter"}
}; };
// clang-format on // clang-format on
@@ -82,7 +82,7 @@ public:
{103, &ISystem::SetRegisterInfoPrivate, "SetRegisterInfoPrivate"}, {103, &ISystem::SetRegisterInfoPrivate, "SetRegisterInfoPrivate"},
{104, &ISystem::DeleteRegisterInfo, "DeleteRegisterInfo"}, {104, &ISystem::DeleteRegisterInfo, "DeleteRegisterInfo"},
{105, &ISystem::DeleteApplicationArea, "DeleteApplicationArea"}, {105, &ISystem::DeleteApplicationArea, "DeleteApplicationArea"},
{106, &ISystem::ExistsApplicationArea, "ExistsApplicationArea"}, {106, &ISystem::ExistsApplicationArea, "ExistsApplicationArea"}
}; };
// clang-format on // clang-format on
@@ -134,7 +134,7 @@ public:
{203, &IDebug::BreakTag, "BreakTag"}, {203, &IDebug::BreakTag, "BreakTag"},
{204, &IDebug::ReadBackupData, "ReadBackupData"}, {204, &IDebug::ReadBackupData, "ReadBackupData"},
{205, &IDebug::WriteBackupData, "WriteBackupData"}, {205, &IDebug::WriteBackupData, "WriteBackupData"},
{206, &IDebug::WriteNtf, "WriteNtf"}, {206, &IDebug::WriteNtf, "WriteNtf"}
}; };
// clang-format on // clang-format on
@@ -147,7 +147,7 @@ public:
explicit IUserManager(Core::System& system_) : ServiceFramework{system_, "nfp:user"} { explicit IUserManager(Core::System& system_) : ServiceFramework{system_, "nfp:user"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &IUserManager::CreateUserInterface, "CreateUserInterface"}, {0, &IUserManager::CreateUserInterface, "CreateUserInterface"}
}; };
// clang-format on // clang-format on
@@ -169,7 +169,7 @@ public:
explicit ISystemManager(Core::System& system_) : ServiceFramework{system_, "nfp:sys"} { explicit ISystemManager(Core::System& system_) : ServiceFramework{system_, "nfp:sys"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &ISystemManager::CreateSystemInterface, "CreateSystemInterface"}, {0, &ISystemManager::CreateSystemInterface, "CreateSystemInterface"}
}; };
// clang-format on // clang-format on
@@ -191,7 +191,7 @@ public:
explicit IDebugManager(Core::System& system_) : ServiceFramework{system_, "nfp:dbg"} { explicit IDebugManager(Core::System& system_) : ServiceFramework{system_, "nfp:dbg"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &IDebugManager::CreateDebugInterface, "CreateDebugInterface"}, {0, &IDebugManager::CreateDebugInterface, "CreateDebugInterface"}
}; };
// clang-format on // clang-format on
+7 -7
View File
@@ -25,7 +25,7 @@ public:
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &IService::Match, "Match"}, {0, &IService::Match, "Match"},
{1, &IService::Filter, "Filter"}, {1, &IService::Filter, "Filter"}
}; };
// clang-format on // clang-format on
@@ -73,7 +73,7 @@ public:
{2, &NgcServiceImpl::Mask, "Mask"}, {2, &NgcServiceImpl::Mask, "Mask"},
{3, &NgcServiceImpl::Reload, "Reload"}, {3, &NgcServiceImpl::Reload, "Reload"},
{4, &NgcServiceImpl::Check, "Check2"}, {4, &NgcServiceImpl::Check, "Check2"},
{5, &NgcServiceImpl::Mask, "Mask2"}, {5, &NgcServiceImpl::Mask, "Mask2"}
}; };
// clang-format on // clang-format on
@@ -165,7 +165,7 @@ public:
{111, nullptr, "IsReloadRequired"}, {111, nullptr, "IsReloadRequired"},
{112, nullptr, "TryAcquireReloadRequestNotifier"}, {112, nullptr, "TryAcquireReloadRequestNotifier"},
{120, nullptr, "CalculateContentFingerprint"}, {120, nullptr, "CalculateContentFingerprint"},
{130, nullptr, "TryEnableTemporalPassThrough"}, {130, nullptr, "TryEnableTemporalPassThrough"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -189,7 +189,7 @@ public:
{454, D<&IUserShimScopedObject::ReadSaveSlot>, "ReadSaveSlot"}, {454, D<&IUserShimScopedObject::ReadSaveSlot>, "ReadSaveSlot"},
{455, D<&IUserShimScopedObject::WriteSaveSlot>, "WriteSaveSlot"}, {455, D<&IUserShimScopedObject::WriteSaveSlot>, "WriteSaveSlot"},
{456, nullptr, "FlushSaveSlot"}, {456, nullptr, "FlushSaveSlot"},
{457, nullptr, "CommitSaveData"}, {457, nullptr, "CommitSaveData"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -217,7 +217,7 @@ public:
explicit IUserService(Core::System& system_) : ServiceFramework(system_, "stpl:u") { explicit IUserService(Core::System& system_) : ServiceFramework(system_, "stpl:u") {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0 , D<&IUserService::Cmd0>, "Cmd0"}, {0 , D<&IUserService::Cmd0>, "Cmd0"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -242,7 +242,7 @@ public:
{209, nullptr, "Cmd209"}, {209, nullptr, "Cmd209"},
{210, nullptr, "Cmd210"}, {210, nullptr, "Cmd210"},
{211, nullptr, "Cmd211"}, {211, nullptr, "Cmd211"},
{212, nullptr, "Cmd212"}, {212, nullptr, "Cmd212"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -264,7 +264,7 @@ public:
explicit ISystemService(Core::System& system_) : ServiceFramework(system_, "stpl:sys") { explicit ISystemService(Core::System& system_) : ServiceFramework(system_, "stpl:sys") {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0 , D<&ISystemService::Cmd0>, "Cmd0"}, {0 , D<&ISystemService::Cmd0>, "Cmd0"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
+3 -3
View File
@@ -240,7 +240,7 @@ public:
{1, &IScanRequest::IsProcessing, "IsProcessing"}, {1, &IScanRequest::IsProcessing, "IsProcessing"},
{2, &IScanRequest::GetResult, "GetResult"}, {2, &IScanRequest::GetResult, "GetResult"},
{3, &IScanRequest::GetSystemEventReadableHandle, "GetSystemEventReadableHandle"}, {3, &IScanRequest::GetSystemEventReadableHandle, "GetSystemEventReadableHandle"},
{4, &IScanRequest::SetChannels, "SetChannels"}, {4, &IScanRequest::SetChannels, "SetChannels"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -512,7 +512,7 @@ public:
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "Update"}, {0, nullptr, "Update"},
{1, nullptr, "PersistOld"}, {1, nullptr, "PersistOld"},
{2, nullptr, "Persist"}, {2, nullptr, "Persist"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }
@@ -1118,7 +1118,7 @@ public:
: ServiceFramework{system_, name} { : ServiceFramework{system_, name} {
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{4, &NetworkInterface::CreateGeneralServiceOld, "CreateGeneralServiceOld"}, {4, &NetworkInterface::CreateGeneralServiceOld, "CreateGeneralServiceOld"},
{5, &NetworkInterface::CreateGeneralService, "CreateGeneralService"}, {5, &NetworkInterface::CreateGeneralService, "CreateGeneralService"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }
+7 -7
View File
@@ -33,7 +33,7 @@ public:
{2, D<&IShopServiceAsync::Read>, "Read"}, {2, D<&IShopServiceAsync::Read>, "Read"},
{3, D<&IShopServiceAsync::GetErrorCode>, "GetErrorCode"}, {3, D<&IShopServiceAsync::GetErrorCode>, "GetErrorCode"},
{4, D<&IShopServiceAsync::Request>, "Request"}, {4, D<&IShopServiceAsync::Request>, "Request"},
{5, D<&IShopServiceAsync::Prepare>, "Prepare"}, {5, D<&IShopServiceAsync::Prepare>, "Prepare"}
}; };
// clang-format on // clang-format on
@@ -144,7 +144,7 @@ public:
: ServiceFramework{system_, "IShopServiceAccessor"} { : ServiceFramework{system_, "IShopServiceAccessor"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &IShopServiceAccessor::CreateAsyncInterface, "CreateAsyncInterface"}, {0, &IShopServiceAccessor::CreateAsyncInterface, "CreateAsyncInterface"}
}; };
// clang-format on // clang-format on
@@ -168,7 +168,7 @@ public:
: ServiceFramework{system_, "IShopServiceAccessServer"} { : ServiceFramework{system_, "IShopServiceAccessServer"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &IShopServiceAccessServer::CreateAccessorInterface, "CreateAccessorInterface"}, {0, &IShopServiceAccessServer::CreateAccessorInterface, "CreateAccessorInterface"}
}; };
// clang-format on // clang-format on
@@ -497,7 +497,7 @@ public:
{502, nullptr, "RequestDownloadTicketForPrepurchasedContents"}, {502, nullptr, "RequestDownloadTicketForPrepurchasedContents"},
{503, nullptr, "RequestSyncTicket"}, {503, nullptr, "RequestSyncTicket"},
{504, nullptr, "RequestDownloadTicketForPrepurchasedContents2"}, {504, nullptr, "RequestDownloadTicketForPrepurchasedContents2"},
{505, nullptr, "RequestDownloadTicketForPrepurchasedContentsForAccount"}, {505, nullptr, "RequestDownloadTicketForPrepurchasedContentsForAccount"}
}; };
// clang-format on // clang-format on
@@ -518,7 +518,7 @@ public:
{2, &IEnsureNetworkClockAvailabilityService::GetResult, "GetResult"}, {2, &IEnsureNetworkClockAvailabilityService::GetResult, "GetResult"},
{3, &IEnsureNetworkClockAvailabilityService::Cancel, "Cancel"}, {3, &IEnsureNetworkClockAvailabilityService::Cancel, "Cancel"},
{4, &IEnsureNetworkClockAvailabilityService::IsProcessing, "IsProcessing"}, {4, &IEnsureNetworkClockAvailabilityService::IsProcessing, "IsProcessing"},
{5, &IEnsureNetworkClockAvailabilityService::GetServerTime, "GetServerTime"}, {5, &IEnsureNetworkClockAvailabilityService::GetServerTime, "GetServerTime"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -592,7 +592,7 @@ public:
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &NTC::OpenEnsureNetworkClockAvailabilityService, "OpenEnsureNetworkClockAvailabilityService"}, {0, &NTC::OpenEnsureNetworkClockAvailabilityService, "OpenEnsureNetworkClockAvailabilityService"},
{100, &NTC::SuspendAutonomicTimeCorrection, "SuspendAutonomicTimeCorrection"}, {100, &NTC::SuspendAutonomicTimeCorrection, "SuspendAutonomicTimeCorrection"},
{101, &NTC::ResumeAutonomicTimeCorrection, "ResumeAutonomicTimeCorrection"}, {101, &NTC::ResumeAutonomicTimeCorrection, "ResumeAutonomicTimeCorrection"}
}; };
// clang-format on // clang-format on
@@ -630,7 +630,7 @@ public:
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "RegisterSpecialClient"}, {0, nullptr, "RegisterSpecialClient"},
{1, nullptr, "UnregisterSpecialClient"}, {1, nullptr, "UnregisterSpecialClient"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
+1 -1
View File
@@ -171,7 +171,7 @@ public:
{151, nullptr, "GetStateWithHandover"}, {151, nullptr, "GetStateWithHandover"},
{152, nullptr, "GetStateChangeEventWithHandover"}, {152, nullptr, "GetStateChangeEventWithHandover"},
{153, nullptr, "GetDropEventWithHandover"}, {153, nullptr, "GetDropEventWithHandover"},
{154, nullptr, "CreateTokenAsync"}, {154, nullptr, "CreateTokenAsync"}
}; };
// clang-format on // clang-format on
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project // SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
@@ -15,7 +18,7 @@ IFactoryResetInterface::IFactoryResetInterface(Core::System& system_)
{103, nullptr, "ResetToFactorySettingsWithPlatformRegion"}, {103, nullptr, "ResetToFactorySettingsWithPlatformRegion"},
{104, nullptr, "ResetToFactorySettingsWithPlatformRegionAuthentication"}, {104, nullptr, "ResetToFactorySettingsWithPlatformRegionAuthentication"},
{105, nullptr, "RequestResetToFactorySettingsSecurely"}, {105, nullptr, "RequestResetToFactorySettingsSecurely"},
{106, nullptr, "RequestResetToFactorySettingsWithPlatformRegionAuthenticationSecurely"}, {106, nullptr, "RequestResetToFactorySettingsWithPlatformRegionAuthenticationSecurely"}
}; };
// clang-format on // clang-format on
+1 -1
View File
@@ -53,7 +53,7 @@ public:
{1202, nullptr, "GetSafeSystemVersion"}, {1202, nullptr, "GetSafeSystemVersion"},
{3100, D<&IVulnerabilityManagerInterface::GetSafeSystemVersionCheckInfo>, "GetSafeSystemVersionCheckInfo"}, {3100, D<&IVulnerabilityManagerInterface::GetSafeSystemVersionCheckInfo>, "GetSafeSystemVersionCheckInfo"},
{3101, nullptr, "RequestUpdateSafeSystemVersionCheckInfo"}, {3101, nullptr, "RequestUpdateSafeSystemVersionCheckInfo"},
{3102, D<&IVulnerabilityManagerInterface::ResetSafeSystemVersionCheckInfo>, "ResetSafeSystemVersionCheckInfo"}, {3102, D<&IVulnerabilityManagerInterface::ResetSafeSystemVersionCheckInfo>, "ResetSafeSystemVersionCheckInfo"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -88,7 +88,7 @@ public:
{0, D<&IAsyncValue::GetSize>, "GetSize"}, {0, D<&IAsyncValue::GetSize>, "GetSize"},
{1, D<&IAsyncValue::Get>, "Get"}, {1, D<&IAsyncValue::Get>, "Get"},
{2, D<&IAsyncValue::Cancel>, "Cancel"}, {2, D<&IAsyncValue::Cancel>, "Cancel"},
{3, D<&IAsyncValue::GetErrorContext>, "GetErrorContext"}, {3, D<&IAsyncValue::GetErrorContext>, "GetErrorContext"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
completion_event = service_context.CreateEvent("IAsyncValue:Completion"); completion_event = service_context.CreateEvent("IAsyncValue:Completion");
+3 -3
View File
@@ -59,7 +59,7 @@ public:
{4, nullptr, "SetCoreDumpPerm"}, {4, nullptr, "SetCoreDumpPerm"},
{5, nullptr, "GetAruid"}, {5, nullptr, "GetAruid"},
{6, nullptr, "Reset"}, {6, nullptr, "Reset"},
{7, nullptr, "GetAruid2"}, {7, nullptr, "GetAruid2"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }
@@ -75,7 +75,7 @@ public:
{1, nullptr, "GetAruid"}, {1, nullptr, "GetAruid"},
{2, nullptr, "ReadNextBlock"}, {2, nullptr, "ReadNextBlock"},
{3, nullptr, "GetNextBlockSize"}, {3, nullptr, "GetNextBlockSize"},
{4, nullptr, "ReadNextBlock2"}, {4, nullptr, "ReadNextBlock2"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }
@@ -95,7 +95,7 @@ public:
{10, nullptr, "InitializeDevtools"}, {10, nullptr, "InitializeDevtools"},
{11, nullptr, "Ioctl2"}, {11, nullptr, "Ioctl2"},
{12, nullptr, "Ioctl3"}, {12, nullptr, "Ioctl3"},
{13, nullptr, "SetConfiguration"}, {13, nullptr, "SetConfiguration"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project // SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
@@ -31,7 +34,7 @@ IOlscServiceForApplication::IOlscServiceForApplication(Core::System& system_)
{9019, nullptr, "UpdateSaveDataBackupInfoCacheAsyncForDebug"}, {9019, nullptr, "UpdateSaveDataBackupInfoCacheAsyncForDebug"},
{9022, nullptr, "DeleteSaveDataBackupAsyncForDebug"}, {9022, nullptr, "DeleteSaveDataBackupAsyncForDebug"},
{9025, nullptr, "ListDownloadableSaveDataBackupInfoAsyncForDebug"}, {9025, nullptr, "ListDownloadableSaveDataBackupInfoAsyncForDebug"},
{9026, nullptr, "DownloadSaveDataBackupAsyncForDebug"}, {9026, nullptr, "DownloadSaveDataBackupAsyncForDebug"}
}; };
// clang-format on // clang-format on
+3 -3
View File
@@ -41,7 +41,7 @@ public:
{20, nullptr, "GetIrqEvent"}, {20, nullptr, "GetIrqEvent"},
{21, nullptr, "SetAspmEnable"}, {21, nullptr, "SetAspmEnable"},
{22, nullptr, "SetResetUponResumeEnable"}, {22, nullptr, "SetResetUponResumeEnable"},
{23, nullptr, "ResetFunction"}, {23, nullptr, "ResetFunction"}
}; };
// clang-format on // clang-format on
@@ -55,7 +55,7 @@ public:
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "RegisterClassDriver"}, {0, nullptr, "RegisterClassDriver"},
{1, nullptr, "QueryFunctionsUnregistered"}, {1, nullptr, "QueryFunctionsUnregistered"}
}; };
// clang-format on // clang-format on
@@ -69,7 +69,7 @@ public:
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "GetLoggedState"}, {0, nullptr, "GetLoggedState"},
{1, nullptr, "GetLoggedStateEvent"}, {1, nullptr, "GetLoggedStateEvent"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
+6 -6
View File
@@ -47,7 +47,7 @@ public:
{26, nullptr, "GetFuseInfo"}, {26, nullptr, "GetFuseInfo"},
{27, nullptr, "GetDramId"}, {27, nullptr, "GetDramId"},
{28, nullptr, "IsPoweredOn"}, {28, nullptr, "IsPoweredOn"},
{29, nullptr, "GetVoltage"}, {29, nullptr, "GetVoltage"}
}; };
// clang-format on // clang-format on
@@ -60,7 +60,7 @@ public:
explicit PCV_ARB(Core::System& system_) : ServiceFramework{system_, "pcv:arb"} { explicit PCV_ARB(Core::System& system_) : ServiceFramework{system_, "pcv:arb"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "ReleaseControl"}, {0, nullptr, "ReleaseControl"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -72,7 +72,7 @@ public:
explicit PCV_IMM(Core::System& system_) : ServiceFramework{system_, "pcv:imm"} { explicit PCV_IMM(Core::System& system_) : ServiceFramework{system_, "pcv:imm"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "SetClockRate"}, {0, nullptr, "SetClockRate"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -96,7 +96,7 @@ public:
{8, &IClkrstSession::GetClockRate, "GetClockRate"}, {8, &IClkrstSession::GetClockRate, "GetClockRate"},
{9, nullptr, "SetMinVClockRate"}, {9, nullptr, "SetMinVClockRate"},
{10, nullptr, "GetPossibleClockRates"}, {10, nullptr, "GetPossibleClockRates"},
{11, nullptr, "GetDvfsTable"}, {11, nullptr, "GetDvfsTable"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -134,7 +134,7 @@ public:
{2, nullptr, "SetTemperature"}, {2, nullptr, "SetTemperature"},
{3, nullptr, "GetModuleStateTable"}, {3, nullptr, "GetModuleStateTable"},
{4, nullptr, "GetModuleStateTableEvent"}, {4, nullptr, "GetModuleStateTableEvent"},
{5, nullptr, "GetModuleStateTableMaxCount"}, {5, nullptr, "GetModuleStateTableMaxCount"}
}; };
// clang-format on // clang-format on
@@ -160,7 +160,7 @@ public:
explicit CLKRST_A(Core::System& system_) : ServiceFramework{system_, "clkrst:a"} { explicit CLKRST_A(Core::System& system_) : ServiceFramework{system_, "clkrst:a"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "ReleaseControl"}, {0, nullptr, "ReleaseControl"}
}; };
// clang-format on // clang-format on
+4 -4
View File
@@ -50,7 +50,7 @@ public:
explicit BootMode(Core::System& system_) : ServiceFramework{system_, "pm:bm"} { explicit BootMode(Core::System& system_) : ServiceFramework{system_, "pm:bm"} {
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &BootMode::GetBootMode, "GetBootMode"}, {0, &BootMode::GetBootMode, "GetBootMode"},
{1, &BootMode::SetMaintenanceBoot, "SetMaintenanceBoot"}, {1, &BootMode::SetMaintenanceBoot, "SetMaintenanceBoot"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }
@@ -89,7 +89,7 @@ public:
{5, nullptr, "HookToCreateApplicationProgress"}, {5, nullptr, "HookToCreateApplicationProgress"},
{6, nullptr, "ClearHook"}, {6, nullptr, "ClearHook"},
{65000, &DebugMonitor::AtmosphereGetProcessInfo, "AtmosphereGetProcessInfo"}, {65000, &DebugMonitor::AtmosphereGetProcessInfo, "AtmosphereGetProcessInfo"},
{65001, nullptr, "AtmosphereGetCurrentLimitInfo"}, {65001, nullptr, "AtmosphereGetCurrentLimitInfo"}
}; };
// clang-format on // clang-format on
@@ -173,7 +173,7 @@ public:
{0, &Info::GetProgramId, "GetProgramId"}, {0, &Info::GetProgramId, "GetProgramId"},
{65000, &Info::AtmosphereGetProcessId, "AtmosphereGetProcessId"}, {65000, &Info::AtmosphereGetProcessId, "AtmosphereGetProcessId"},
{65001, nullptr, "AtmosphereHasLaunchedProgram"}, {65001, nullptr, "AtmosphereHasLaunchedProgram"},
{65002, nullptr, "AtmosphereGetProcessInfo"}, {65002, nullptr, "AtmosphereGetProcessInfo"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }
@@ -234,7 +234,7 @@ public:
{6, &Shell::GetApplicationProcessIdForShell, "GetApplicationProcessIdForShell"}, {6, &Shell::GetApplicationProcessIdForShell, "GetApplicationProcessIdForShell"},
{7, nullptr, "BoostSystemMemoryResourceLimit"}, {7, nullptr, "BoostSystemMemoryResourceLimit"},
{8, nullptr, "BoostApplicationThreadResourceLimit"}, {8, nullptr, "BoostApplicationThreadResourceLimit"},
{9, nullptr, "GetBootFinishedEventHandle"}, {9, nullptr, "GetBootFinishedEventHandle"}
}; };
// clang-format on // clang-format on
+1 -1
View File
@@ -55,7 +55,7 @@ public:
{90102, nullptr, "Unknown90102"}, {90102, nullptr, "Unknown90102"},
{90200, nullptr, "GetStatistics"}, {90200, nullptr, "GetStatistics"},
{90201, nullptr, "GetThroughputHistory"}, {90201, nullptr, "GetThroughputHistory"},
{90300, nullptr, "GetLastUploadError"}, {90300, nullptr, "GetLastUploadError"}
}; };
// clang-format on // clang-format on
+1 -1
View File
@@ -17,7 +17,7 @@ IReceiver::IReceiver(Core::System& system_)
{1, D<&IReceiver::RemoveSource>, "RemoveSource"}, {1, D<&IReceiver::RemoveSource>, "RemoveSource"},
{2, D<&IReceiver::GetReceiveEventHandle>, "GetReceiveEventHandle"}, {2, D<&IReceiver::GetReceiveEventHandle>, "GetReceiveEventHandle"},
{3, D<&IReceiver::Receive>, "Receive"}, {3, D<&IReceiver::Receive>, "Receive"},
{4, D<&IReceiver::ReceiveWithTick>, "ReceiveWithTick"}, {4, D<&IReceiver::ReceiveWithTick>, "ReceiveWithTick"}
}; };
// clang-format on // clang-format on
+4 -1
View File
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project // SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
@@ -12,7 +15,7 @@ IPmModule::IPmModule(Core::System& system_) : ServiceFramework{system_, "IPmModu
{1, nullptr, "GetRequest"}, {1, nullptr, "GetRequest"},
{2, nullptr, "Acknowledge"}, {2, nullptr, "Acknowledge"},
{3, nullptr, "Finalize"}, {3, nullptr, "Finalize"},
{4, nullptr, "AcknowledgeEx"}, {4, nullptr, "AcknowledgeEx"}
}; };
// clang-format on // clang-format on
+5 -5
View File
@@ -26,7 +26,7 @@ public:
{1, nullptr, "Lock"}, {1, nullptr, "Lock"},
{2, nullptr, "Unlock"}, {2, nullptr, "Unlock"},
{3, nullptr, "IsLocked"}, {3, nullptr, "IsLocked"},
{4, nullptr, "GetRelatedState"}, {4, nullptr, "GetRelatedState"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -39,7 +39,7 @@ public:
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "GetInputSourceState"}, {0, nullptr, "GetInputSourceState"},
{1, nullptr, "GetTriggerTargetEvent"}, {1, nullptr, "GetTriggerTargetEvent"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -51,7 +51,7 @@ public:
explicit INS_S(Core::System& system_) : ServiceFramework{system_, "ins:s"} { explicit INS_S(Core::System& system_) : ServiceFramework{system_, "ins:s"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "GetNotifyEvent"}, {0, nullptr, "GetNotifyEvent"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -78,7 +78,7 @@ public:
{12, nullptr, "GetIsBatteryEnoughForFullAwake"}, {12, nullptr, "GetIsBatteryEnoughForFullAwake"},
{13, nullptr, "GetIsCharging"}, {13, nullptr, "GetIsCharging"},
{14, nullptr, "Cmd14"}, {14, nullptr, "Cmd14"},
{15, nullptr, "Cmd15"}, {15, nullptr, "Cmd15"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -95,7 +95,7 @@ public:
{2, nullptr, "SetClockRate"}, {2, nullptr, "SetClockRate"},
{3, nullptr, "SetBridgePowerSupply"}, {3, nullptr, "SetBridgePowerSupply"},
{4, nullptr, "Cmd4"}, {4, nullptr, "Cmd4"},
{5, nullptr, "Cmd5"}, {5, nullptr, "Cmd5"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -17,7 +17,7 @@ IPowerStateRequestHandler::IPowerStateRequestHandler(
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, D<&IPowerStateRequestHandler::GetPowerStateRequestEventReadableHandle>, "GetPowerStateRequestEventReadableHandle"}, {0, D<&IPowerStateRequestHandler::GetPowerStateRequestEventReadableHandle>, "GetPowerStateRequestEventReadableHandle"},
{1, D<&IPowerStateRequestHandler::GetAndClearPowerStateRequest>, "GetAndClearPowerStateRequest"}, {1, D<&IPowerStateRequestHandler::GetAndClearPowerStateRequest>, "GetAndClearPowerStateRequest"}
}; };
// clang-format on // clang-format on
+1 -1
View File
@@ -62,7 +62,7 @@ StaticService::StaticService(Core::System& system_, StaticServiceSetupInfo setup
{400, D<&StaticService::GetClockSnapshot>, "GetClockSnapshot"}, {400, D<&StaticService::GetClockSnapshot>, "GetClockSnapshot"},
{401, D<&StaticService::GetClockSnapshotFromSystemClockContext>, "GetClockSnapshotFromSystemClockContext"}, {401, D<&StaticService::GetClockSnapshotFromSystemClockContext>, "GetClockSnapshotFromSystemClockContext"},
{500, D<&StaticService::CalculateStandardUserSystemClockDifferenceByUser>, "CalculateStandardUserSystemClockDifferenceByUser"}, {500, D<&StaticService::CalculateStandardUserSystemClockDifferenceByUser>, "CalculateStandardUserSystemClockDifferenceByUser"},
{501, D<&StaticService::CalculateSpanBetween>, "CalculateSpanBetween"}, {501, D<&StaticService::CalculateSpanBetween>, "CalculateSpanBetween"}
}; };
// clang-format on // clang-format on
+1 -1
View File
@@ -28,7 +28,7 @@ public:
{1, &IPsmSession::UnbindStateChangeEvent, "UnbindStateChangeEvent"}, {1, &IPsmSession::UnbindStateChangeEvent, "UnbindStateChangeEvent"},
{2, &IPsmSession::SetChargerTypeChangeEventEnabled, "SetChargerTypeChangeEventEnabled"}, {2, &IPsmSession::SetChargerTypeChangeEventEnabled, "SetChargerTypeChangeEventEnabled"},
{3, &IPsmSession::SetPowerSupplyChangeEventEnabled, "SetPowerSupplyChangeEventEnabled"}, {3, &IPsmSession::SetPowerSupplyChangeEventEnabled, "SetPowerSupplyChangeEventEnabled"},
{4, &IPsmSession::SetBatteryVoltageStateChangeEventEnabled, "SetBatteryVoltageStateChangeEventEnabled"}, {4, &IPsmSession::SetBatteryVoltageStateChangeEventEnabled, "SetBatteryVoltageStateChangeEventEnabled"}
}; };
// clang-format on // clang-format on
+2 -2
View File
@@ -22,7 +22,7 @@ public:
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "EnableVdd50StateControl"}, {0, nullptr, "EnableVdd50StateControl"},
{1, nullptr, "DisableVdd50StateControl"}, {1, nullptr, "DisableVdd50StateControl"},
{2, nullptr, "SetVdd50State"}, {2, nullptr, "SetVdd50State"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -35,7 +35,7 @@ public:
: ServiceFramework{system_, "powctl"} { : ServiceFramework{system_, "powctl"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "OpenSession"}, {0, nullptr, "OpenSession"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
+1 -1
View File
@@ -24,7 +24,7 @@ public:
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "GetTemperatureRange"}, {0, nullptr, "GetTemperatureRange"},
{2, nullptr, "SetMeasurementMode"}, {2, nullptr, "SetMeasurementMode"},
{4, &ISession::GetTemperature, "GetTemperature"}, {4, &ISession::GetTemperature, "GetTemperature"}
}; };
// clang-format on // clang-format on
+1 -1
View File
@@ -517,7 +517,7 @@ public:
{2, C<&RoInterface::RegisterModuleInfo>, "RegisterModuleInfo"}, {2, C<&RoInterface::RegisterModuleInfo>, "RegisterModuleInfo"},
{3, C<&RoInterface::UnregisterModuleInfo>, "UnregisterModuleInfo"}, {3, C<&RoInterface::UnregisterModuleInfo>, "UnregisterModuleInfo"},
{4, C<&RoInterface::RegisterProcessHandle>, "RegisterProcessHandle"}, {4, C<&RoInterface::RegisterProcessHandle>, "RegisterProcessHandle"},
{10, C<&RoInterface::RegisterProcessModuleInfo>, "RegisterProcessModuleInfo"}, {10, C<&RoInterface::RegisterProcessModuleInfo>, "RegisterProcessModuleInfo"}
}; };
// clang-format on // clang-format on
+3 -3
View File
@@ -24,7 +24,7 @@ public:
{3, nullptr, "GetMediaList"}, {3, nullptr, "GetMediaList"},
{4, nullptr, "SetMediaType"}, {4, nullptr, "SetMediaType"},
{5, nullptr, "GetMediaType"}, {5, nullptr, "GetMediaType"},
{6, nullptr, "GetMacAddress"}, {6, nullptr, "GetMacAddress"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -41,7 +41,7 @@ public:
{1, nullptr, "Cancel"}, {1, nullptr, "Cancel"},
{2, nullptr, "GetResult"}, {2, nullptr, "GetResult"},
{3, nullptr, "GetInterfaceList"}, {3, nullptr, "GetInterfaceList"},
{4, nullptr, "GetInterfaceCount"}, {4, nullptr, "GetInterfaceCount"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -54,7 +54,7 @@ public:
: ServiceFramework{system_, "eth:nd"} { : ServiceFramework{system_, "eth:nd"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "CreateDriverService"}, {0, nullptr, "CreateDriverService"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
+1 -1
View File
@@ -207,7 +207,7 @@ public:
explicit CSRNG(Core::System& system_, std::shared_ptr<Module> module_) explicit CSRNG(Core::System& system_, std::shared_ptr<Module> module_)
: Interface(system_, std::move(module_), "csrng") { : Interface(system_, std::move(module_), "csrng") {
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &CSRNG::GenerateRandomBytes, "GenerateRandomBytes"}, {0, &CSRNG::GenerateRandomBytes, "GenerateRandomBytes"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }
+3 -3
View File
@@ -116,7 +116,7 @@ public:
{32, nullptr, "GetSrtpCipher"}, {32, nullptr, "GetSrtpCipher"},
{33, nullptr, "ExportKeyingMaterial"}, {33, nullptr, "ExportKeyingMaterial"},
{34, nullptr, "SetIoTimeout"}, {34, nullptr, "SetIoTimeout"},
{35, nullptr, "GetIoTimeout"}, {35, nullptr, "GetIoTimeout"}
}; };
// clang-format on // clang-format on
@@ -466,7 +466,7 @@ public:
{10, nullptr, "ImportCrl"}, {10, nullptr, "ImportCrl"},
{11, nullptr, "RemoveCrl"}, {11, nullptr, "RemoveCrl"},
{12, nullptr, "ImportClientCertKeyPki"}, {12, nullptr, "ImportClientCertKeyPki"},
{13, nullptr, "GeneratePrivateKeyAndCert"}, {13, nullptr, "GeneratePrivateKeyAndCert"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }
@@ -578,7 +578,7 @@ public:
{6, nullptr, "FlushSessionCache"}, {6, nullptr, "FlushSessionCache"},
{7, nullptr, "SetDebugOption"}, {7, nullptr, "SetDebugOption"},
{8, nullptr, "GetDebugOption"}, {8, nullptr, "GetDebugOption"},
{8, nullptr, "ClearTls12FallbackFlag"}, {8, nullptr, "ClearTls12FallbackFlag"}
}; };
// clang-format on // clang-format on
+1 -1
View File
@@ -21,7 +21,7 @@ public:
: ServiceFramework{system_, "htc:tenv"} : ServiceFramework{system_, "htc:tenv"}
{ {
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "GetServiceInterface"}, {0, nullptr, "GetServiceInterface"}
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }
+13 -13
View File
@@ -32,7 +32,7 @@ public:
{9, nullptr, "GetCtrlOutCompletionEvent"}, {9, nullptr, "GetCtrlOutCompletionEvent"},
{10, nullptr, "GetCtrlOutUrbReport"}, {10, nullptr, "GetCtrlOutUrbReport"},
{11, nullptr, "CtrlStall"}, {11, nullptr, "CtrlStall"},
{12, nullptr, "AppendConfigurationData"}, {12, nullptr, "AppendConfigurationData"}
}; };
// clang-format on // clang-format on
@@ -45,7 +45,7 @@ public:
explicit IDsRootSession(Core::System& system_) : ServiceFramework{system_, "usb:ds"} { explicit IDsRootSession(Core::System& system_) : ServiceFramework{system_, "usb:ds"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "OpenDsService"}, {0, nullptr, "OpenDsService"}
}; };
// clang-format on // clang-format on
@@ -67,7 +67,7 @@ public:
{5, nullptr, "GetXferReport"}, {5, nullptr, "GetXferReport"},
{6, nullptr, "PostBufferMultiAsync"}, {6, nullptr, "PostBufferMultiAsync"},
{7, nullptr, "CreateSmmuSpace"}, {7, nullptr, "CreateSmmuSpace"},
{8, nullptr, "ShareReportRing"}, {8, nullptr, "ShareReportRing"}
}; };
// clang-format on // clang-format on
@@ -90,7 +90,7 @@ public:
{6, nullptr, "GetCtrlXferCompletionEvent"}, {6, nullptr, "GetCtrlXferCompletionEvent"},
{7, nullptr, "GetCtrlXferReport"}, {7, nullptr, "GetCtrlXferReport"},
{8, nullptr, "ResetDevice"}, {8, nullptr, "ResetDevice"},
{9, nullptr, "OpenUsbEp"}, {9, nullptr, "OpenUsbEp"}
}; };
// clang-format on // clang-format on
@@ -111,7 +111,7 @@ public:
{5, nullptr, "DestroyInterfaceAvailableEvent"}, {5, nullptr, "DestroyInterfaceAvailableEvent"},
{6, nullptr, "GetInterfaceStateChangeEvent"}, {6, nullptr, "GetInterfaceStateChangeEvent"},
{7, nullptr, "AcquireUsbIf"}, {7, nullptr, "AcquireUsbIf"},
{8, nullptr, "SetTestMode"}, {8, nullptr, "SetTestMode"}
}; };
// clang-format on // clang-format on
@@ -130,7 +130,7 @@ public:
{3, nullptr, "GetNotice"}, {3, nullptr, "GetNotice"},
{4, nullptr, "EnablePowerRequestNotice"}, {4, nullptr, "EnablePowerRequestNotice"},
{5, nullptr, "DisablePowerRequestNotice"}, {5, nullptr, "DisablePowerRequestNotice"},
{6, nullptr, "ReplyPowerRequest"}, {6, nullptr, "ReplyPowerRequest"}
}; };
// clang-format on // clang-format on
@@ -143,7 +143,7 @@ public:
explicit IPdManager(Core::System& system_) : ServiceFramework{system_, "usb:pd"} { explicit IPdManager(Core::System& system_) : ServiceFramework{system_, "usb:pd"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &IPdManager::OpenSession, "OpenSession"}, {0, &IPdManager::OpenSession, "OpenSession"}
}; };
// clang-format on // clang-format on
@@ -174,7 +174,7 @@ public:
{5, nullptr, "GetHostPdcManufactureId"}, {5, nullptr, "GetHostPdcManufactureId"},
{6, nullptr, "GetHostPdcDeviceId"}, {6, nullptr, "GetHostPdcDeviceId"},
{7, nullptr, "EnableCradleRecovery"}, {7, nullptr, "EnableCradleRecovery"},
{8, nullptr, "DisableCradleRecovery"}, {8, nullptr, "DisableCradleRecovery"}
}; };
// clang-format on // clang-format on
@@ -187,7 +187,7 @@ public:
explicit IPdCradleManager(Core::System& system_) : ServiceFramework{system_, "usb:pd:c"} { explicit IPdCradleManager(Core::System& system_) : ServiceFramework{system_, "usb:pd:c"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &IPdCradleManager::OpenCradleSession, "OpenCradleSession"}, {0, &IPdCradleManager::OpenCradleSession, "OpenCradleSession"}
}; };
// clang-format on // clang-format on
@@ -214,7 +214,7 @@ public:
{2, nullptr, "GetDataEvent"}, {2, nullptr, "GetDataEvent"},
{3, nullptr, "GetDataRole"}, {3, nullptr, "GetDataRole"},
{4, nullptr, "SetDiagData"}, {4, nullptr, "SetDiagData"},
{5, nullptr, "GetDiagData"}, {5, nullptr, "GetDiagData"}
}; };
// clang-format on // clang-format on
@@ -227,7 +227,7 @@ public:
explicit IPdManufactureManager(Core::System& system_) : ServiceFramework{system_, "usb:pd:m"} { explicit IPdManufactureManager(Core::System& system_) : ServiceFramework{system_, "usb:pd:m"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "OpenManufactureSession"}, {0, nullptr, "OpenManufactureSession"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -240,7 +240,7 @@ public:
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "ImportQuirkDevices"}, {0, nullptr, "ImportQuirkDevices"},
{1, nullptr, "HasQuirk"}, {1, nullptr, "HasQuirk"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
@@ -253,7 +253,7 @@ public:
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "GetTopologyChangeEvent"}, {0, nullptr, "GetTopologyChangeEvent"},
{1, nullptr, "GetFlattenedTopology"}, {1, nullptr, "GetFlattenedTopology"}
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);