diff options
| author | Alex Barney <thealexbarney@gmail.com> | 2023-04-14 16:00:34 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-14 20:00:34 -0300 |
| commit | 11ecff2ff04633d261b9a43db792f6438df63f40 (patch) | |
| tree | a6d8524f119834d75cc586c2d456d41fcb292704 /Ryujinx.HLE/HOS/Services/Account/Acc | |
| parent | 4c3f09644a033dbf70258c4c0e5a848263b16bbd (diff) | |
Rename Hipc to Cmif where appropriate (#3880)
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Account/Acc')
9 files changed, 67 insertions, 67 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Account/Acc/AccountService/IManagerForApplication.cs b/Ryujinx.HLE/HOS/Services/Account/Acc/AccountService/IManagerForApplication.cs index 68ed3f50..9c058cb5 100644 --- a/Ryujinx.HLE/HOS/Services/Account/Acc/AccountService/IManagerForApplication.cs +++ b/Ryujinx.HLE/HOS/Services/Account/Acc/AccountService/IManagerForApplication.cs @@ -9,21 +9,21 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc.AccountService _managerServer = new ManagerServer(userId); } - [CommandHipc(0)] + [CommandCmif(0)] // CheckAvailability() public ResultCode CheckAvailability(ServiceCtx context) { return _managerServer.CheckAvailability(context); } - [CommandHipc(1)] + [CommandCmif(1)] // GetAccountId() -> nn::account::NetworkServiceAccountId public ResultCode GetAccountId(ServiceCtx context) { return _managerServer.GetAccountId(context); } - [CommandHipc(2)] + [CommandCmif(2)] // EnsureIdTokenCacheAsync() -> object<nn::account::detail::IAsyncContext> public ResultCode EnsureIdTokenCacheAsync(ServiceCtx context) { @@ -37,28 +37,28 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc.AccountService return resultCode; } - [CommandHipc(3)] + [CommandCmif(3)] // LoadIdTokenCache() -> (u32 id_token_cache_size, buffer<bytes, 6>) public ResultCode LoadIdTokenCache(ServiceCtx context) { return _managerServer.LoadIdTokenCache(context); } - [CommandHipc(130)] + [CommandCmif(130)] // GetNintendoAccountUserResourceCacheForApplication() -> (nn::account::NintendoAccountId, nn::account::nas::NasUserBaseForApplication, buffer<bytes, 6>) public ResultCode GetNintendoAccountUserResourceCacheForApplication(ServiceCtx context) { return _managerServer.GetNintendoAccountUserResourceCacheForApplication(context); } - [CommandHipc(160)] // 5.0.0+ + [CommandCmif(160)] // 5.0.0+ // StoreOpenContext() public ResultCode StoreOpenContext(ServiceCtx context) { return _managerServer.StoreOpenContext(context); } - [CommandHipc(170)] // 6.0.0+ + [CommandCmif(170)] // 6.0.0+ // LoadNetworkServiceLicenseKindAsync() -> object<nn::account::detail::IAsyncNetworkServiceLicenseKindContext> public ResultCode LoadNetworkServiceLicenseKindAsync(ServiceCtx context) { diff --git a/Ryujinx.HLE/HOS/Services/Account/Acc/AccountService/IManagerForSystemService.cs b/Ryujinx.HLE/HOS/Services/Account/Acc/AccountService/IManagerForSystemService.cs index d054b80b..ecd51687 100644 --- a/Ryujinx.HLE/HOS/Services/Account/Acc/AccountService/IManagerForSystemService.cs +++ b/Ryujinx.HLE/HOS/Services/Account/Acc/AccountService/IManagerForSystemService.cs @@ -9,21 +9,21 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc.AccountService _managerServer = new ManagerServer(userId); } - [CommandHipc(0)] + [CommandCmif(0)] // CheckAvailability() public ResultCode CheckAvailability(ServiceCtx context) { return _managerServer.CheckAvailability(context); } - [CommandHipc(1)] + [CommandCmif(1)] // GetAccountId() -> nn::account::NetworkServiceAccountId public ResultCode GetAccountId(ServiceCtx context) { return _managerServer.GetAccountId(context); } - [CommandHipc(2)] + [CommandCmif(2)] // EnsureIdTokenCacheAsync() -> object<nn::account::detail::IAsyncContext> public ResultCode EnsureIdTokenCacheAsync(ServiceCtx context) { @@ -37,7 +37,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc.AccountService return resultCode; } - [CommandHipc(3)] + [CommandCmif(3)] // LoadIdTokenCache() -> (u32 id_token_cache_size, buffer<bytes, 6>) public ResultCode LoadIdTokenCache(ServiceCtx context) { diff --git a/Ryujinx.HLE/HOS/Services/Account/Acc/AccountService/IProfile.cs b/Ryujinx.HLE/HOS/Services/Account/Acc/AccountService/IProfile.cs index 8595f54a..14911dfb 100644 --- a/Ryujinx.HLE/HOS/Services/Account/Acc/AccountService/IProfile.cs +++ b/Ryujinx.HLE/HOS/Services/Account/Acc/AccountService/IProfile.cs @@ -9,28 +9,28 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc.AccountService _profileServer = new ProfileServer(profile); } - [CommandHipc(0)] + [CommandCmif(0)] // Get() -> (nn::account::profile::ProfileBase, buffer<nn::account::profile::UserData, 0x1a>) public ResultCode Get(ServiceCtx context) { return _profileServer.Get(context); } - [CommandHipc(1)] + [CommandCmif(1)] // GetBase() -> nn::account::profile::ProfileBase public ResultCode GetBase(ServiceCtx context) { return _profileServer.GetBase(context); } - [CommandHipc(10)] + [CommandCmif(10)] // GetImageSize() -> u32 public ResultCode GetImageSize(ServiceCtx context) { return _profileServer.GetImageSize(context); } - [CommandHipc(11)] + [CommandCmif(11)] // LoadImage() -> (u32, buffer<bytes, 6>) public ResultCode LoadImage(ServiceCtx context) { diff --git a/Ryujinx.HLE/HOS/Services/Account/Acc/AccountService/IProfileEditor.cs b/Ryujinx.HLE/HOS/Services/Account/Acc/AccountService/IProfileEditor.cs index 9ec46750..64b6070f 100644 --- a/Ryujinx.HLE/HOS/Services/Account/Acc/AccountService/IProfileEditor.cs +++ b/Ryujinx.HLE/HOS/Services/Account/Acc/AccountService/IProfileEditor.cs @@ -9,42 +9,42 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc.AccountService _profileServer = new ProfileServer(profile); } - [CommandHipc(0)] + [CommandCmif(0)] // Get() -> (nn::account::profile::ProfileBase, buffer<nn::account::profile::UserData, 0x1a>) public ResultCode Get(ServiceCtx context) { return _profileServer.Get(context); } - [CommandHipc(1)] + [CommandCmif(1)] // GetBase() -> nn::account::profile::ProfileBase public ResultCode GetBase(ServiceCtx context) { return _profileServer.GetBase(context); } - [CommandHipc(10)] + [CommandCmif(10)] // GetImageSize() -> u32 public ResultCode GetImageSize(ServiceCtx context) { return _profileServer.GetImageSize(context); } - [CommandHipc(11)] + [CommandCmif(11)] // LoadImage() -> (u32, buffer<bytes, 6>) public ResultCode LoadImage(ServiceCtx context) { return _profileServer.LoadImage(context); } - [CommandHipc(100)] + [CommandCmif(100)] // Store(nn::account::profile::ProfileBase, buffer<nn::account::profile::UserData, 0x19>) public ResultCode Store(ServiceCtx context) { return _profileServer.Store(context); } - [CommandHipc(101)] + [CommandCmif(101)] // StoreWithImage(nn::account::profile::ProfileBase, buffer<nn::account::profile::UserData, 0x19>, buffer<bytes, 5>) public ResultCode StoreWithImage(ServiceCtx context) { diff --git a/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForAdministrator.cs b/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForAdministrator.cs index cb73dcfe..6a457f04 100644 --- a/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForAdministrator.cs +++ b/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForAdministrator.cs @@ -14,42 +14,42 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc _applicationServiceServer = new ApplicationServiceServer(serviceFlag); } - [CommandHipc(0)] + [CommandCmif(0)] // GetUserCount() -> i32 public ResultCode GetUserCount(ServiceCtx context) { return _applicationServiceServer.GetUserCountImpl(context); } - [CommandHipc(1)] + [CommandCmif(1)] // GetUserExistence(nn::account::Uid) -> bool public ResultCode GetUserExistence(ServiceCtx context) { return _applicationServiceServer.GetUserExistenceImpl(context); } - [CommandHipc(2)] + [CommandCmif(2)] // ListAllUsers() -> array<nn::account::Uid, 0xa> public ResultCode ListAllUsers(ServiceCtx context) { return _applicationServiceServer.ListAllUsers(context); } - [CommandHipc(3)] + [CommandCmif(3)] // ListOpenUsers() -> array<nn::account::Uid, 0xa> public ResultCode ListOpenUsers(ServiceCtx context) { return _applicationServiceServer.ListOpenUsers(context); } - [CommandHipc(4)] + [CommandCmif(4)] // GetLastOpenedUser() -> nn::account::Uid public ResultCode GetLastOpenedUser(ServiceCtx context) { return _applicationServiceServer.GetLastOpenedUser(context); } - [CommandHipc(5)] + [CommandCmif(5)] // GetProfile(nn::account::Uid) -> object<nn::account::profile::IProfile> public ResultCode GetProfile(ServiceCtx context) { @@ -63,7 +63,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc return resultCode; } - [CommandHipc(50)] + [CommandCmif(50)] // IsUserRegistrationRequestPermitted(pid) -> bool public ResultCode IsUserRegistrationRequestPermitted(ServiceCtx context) { @@ -72,14 +72,14 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc return _applicationServiceServer.IsUserRegistrationRequestPermitted(context); } - [CommandHipc(51)] + [CommandCmif(51)] // TrySelectUserWithoutInteraction(bool) -> nn::account::Uid public ResultCode TrySelectUserWithoutInteraction(ServiceCtx context) { return _applicationServiceServer.TrySelectUserWithoutInteraction(context); } - [CommandHipc(102)] + [CommandCmif(102)] // GetBaasAccountManagerForSystemService(nn::account::Uid) -> object<nn::account::baas::IManagerForApplication> public ResultCode GetBaasAccountManagerForSystemService(ServiceCtx context) { @@ -98,14 +98,14 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc return ResultCode.Success; } - [CommandHipc(140)] // 6.0.0+ + [CommandCmif(140)] // 6.0.0+ // ListQualifiedUsers() -> array<nn::account::Uid, 0xa> public ResultCode ListQualifiedUsers(ServiceCtx context) { return _applicationServiceServer.ListQualifiedUsers(context); } - [CommandHipc(205)] + [CommandCmif(205)] // GetProfileEditor(nn::account::Uid) -> object<nn::account::profile::IProfileEditor> public ResultCode GetProfileEditor(ServiceCtx context) { diff --git a/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForApplication.cs b/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForApplication.cs index 413bedce..8ec83e5c 100644 --- a/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForApplication.cs +++ b/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForApplication.cs @@ -14,42 +14,42 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc _applicationServiceServer = new ApplicationServiceServer(serviceFlag); } - [CommandHipc(0)] + [CommandCmif(0)] // GetUserCount() -> i32 public ResultCode GetUserCount(ServiceCtx context) { return _applicationServiceServer.GetUserCountImpl(context); } - [CommandHipc(1)] + [CommandCmif(1)] // GetUserExistence(nn::account::Uid) -> bool public ResultCode GetUserExistence(ServiceCtx context) { return _applicationServiceServer.GetUserExistenceImpl(context); } - [CommandHipc(2)] + [CommandCmif(2)] // ListAllUsers() -> array<nn::account::Uid, 0xa> public ResultCode ListAllUsers(ServiceCtx context) { return _applicationServiceServer.ListAllUsers(context); } - [CommandHipc(3)] + [CommandCmif(3)] // ListOpenUsers() -> array<nn::account::Uid, 0xa> public ResultCode ListOpenUsers(ServiceCtx context) { return _applicationServiceServer.ListOpenUsers(context); } - [CommandHipc(4)] + [CommandCmif(4)] // GetLastOpenedUser() -> nn::account::Uid public ResultCode GetLastOpenedUser(ServiceCtx context) { return _applicationServiceServer.GetLastOpenedUser(context); } - [CommandHipc(5)] + [CommandCmif(5)] // GetProfile(nn::account::Uid) -> object<nn::account::profile::IProfile> public ResultCode GetProfile(ServiceCtx context) { @@ -63,7 +63,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc return resultCode; } - [CommandHipc(50)] + [CommandCmif(50)] // IsUserRegistrationRequestPermitted(pid) -> bool public ResultCode IsUserRegistrationRequestPermitted(ServiceCtx context) { @@ -71,16 +71,16 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc return _applicationServiceServer.IsUserRegistrationRequestPermitted(context); } - [CommandHipc(51)] + [CommandCmif(51)] // TrySelectUserWithoutInteraction(bool) -> nn::account::Uid public ResultCode TrySelectUserWithoutInteraction(ServiceCtx context) { return _applicationServiceServer.TrySelectUserWithoutInteraction(context); } - [CommandHipc(100)] - [CommandHipc(140)] // 6.0.0+ - [CommandHipc(160)] // 13.0.0+ + [CommandCmif(100)] + [CommandCmif(140)] // 6.0.0+ + [CommandCmif(160)] // 13.0.0+ // InitializeApplicationInfo(u64 pid_placeholder, pid) public ResultCode InitializeApplicationInfo(ServiceCtx context) { @@ -105,7 +105,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc return ResultCode.Success; } - [CommandHipc(101)] + [CommandCmif(101)] // GetBaasAccountManagerForApplication(nn::account::Uid) -> object<nn::account::baas::IManagerForApplication> public ResultCode GetBaasAccountManagerForApplication(ServiceCtx context) { @@ -124,7 +124,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc return ResultCode.Success; } - [CommandHipc(103)] // 4.0.0+ + [CommandCmif(103)] // 4.0.0+ // CheckNetworkServiceAvailabilityAsync() -> object<nn::account::detail::IAsyncContext> public ResultCode CheckNetworkServiceAvailabilityAsync(ServiceCtx context) { @@ -138,21 +138,21 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc return resultCode; } - [CommandHipc(110)] + [CommandCmif(110)] // StoreSaveDataThumbnail(nn::account::Uid, buffer<bytes, 5>) public ResultCode StoreSaveDataThumbnail(ServiceCtx context) { return _applicationServiceServer.StoreSaveDataThumbnail(context); } - [CommandHipc(111)] + [CommandCmif(111)] // ClearSaveDataThumbnail(nn::account::Uid) public ResultCode ClearSaveDataThumbnail(ServiceCtx context) { return _applicationServiceServer.ClearSaveDataThumbnail(context); } - [CommandHipc(130)] // 5.0.0+ + [CommandCmif(130)] // 5.0.0+ // LoadOpenContext(nn::account::Uid) -> object<nn::account::baas::IManagerForApplication> public ResultCode LoadOpenContext(ServiceCtx context) { @@ -168,22 +168,22 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc return ResultCode.Success; } - [CommandHipc(60)] // 5.0.0-5.1.0 - [CommandHipc(131)] // 6.0.0+ + [CommandCmif(60)] // 5.0.0-5.1.0 + [CommandCmif(131)] // 6.0.0+ // ListOpenContextStoredUsers() -> array<nn::account::Uid, 0xa> public ResultCode ListOpenContextStoredUsers(ServiceCtx context) { return _applicationServiceServer.ListOpenContextStoredUsers(context); } - [CommandHipc(141)] // 6.0.0+ + [CommandCmif(141)] // 6.0.0+ // ListQualifiedUsers() -> array<nn::account::Uid, 0xa> public ResultCode ListQualifiedUsers(ServiceCtx context) { return _applicationServiceServer.ListQualifiedUsers(context); } - [CommandHipc(150)] // 6.0.0+ + [CommandCmif(150)] // 6.0.0+ // IsUserAccountSwitchLocked() -> bool public ResultCode IsUserAccountSwitchLocked(ServiceCtx context) { diff --git a/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForSystemService.cs b/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForSystemService.cs index 934c06fe..3b5f3b03 100644 --- a/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForSystemService.cs +++ b/Ryujinx.HLE/HOS/Services/Account/Acc/IAccountServiceForSystemService.cs @@ -13,42 +13,42 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc _applicationServiceServer = new ApplicationServiceServer(serviceFlag); } - [CommandHipc(0)] + [CommandCmif(0)] // GetUserCount() -> i32 public ResultCode GetUserCount(ServiceCtx context) { return _applicationServiceServer.GetUserCountImpl(context); } - [CommandHipc(1)] + [CommandCmif(1)] // GetUserExistence(nn::account::Uid) -> bool public ResultCode GetUserExistence(ServiceCtx context) { return _applicationServiceServer.GetUserExistenceImpl(context); } - [CommandHipc(2)] + [CommandCmif(2)] // ListAllUsers() -> array<nn::account::Uid, 0xa> public ResultCode ListAllUsers(ServiceCtx context) { return _applicationServiceServer.ListAllUsers(context); } - [CommandHipc(3)] + [CommandCmif(3)] // ListOpenUsers() -> array<nn::account::Uid, 0xa> public ResultCode ListOpenUsers(ServiceCtx context) { return _applicationServiceServer.ListOpenUsers(context); } - [CommandHipc(4)] + [CommandCmif(4)] // GetLastOpenedUser() -> nn::account::Uid public ResultCode GetLastOpenedUser(ServiceCtx context) { return _applicationServiceServer.GetLastOpenedUser(context); } - [CommandHipc(5)] + [CommandCmif(5)] // GetProfile(nn::account::Uid) -> object<nn::account::profile::IProfile> public ResultCode GetProfile(ServiceCtx context) { @@ -62,7 +62,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc return resultCode; } - [CommandHipc(50)] + [CommandCmif(50)] // IsUserRegistrationRequestPermitted(pid) -> bool public ResultCode IsUserRegistrationRequestPermitted(ServiceCtx context) { @@ -71,14 +71,14 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc return _applicationServiceServer.IsUserRegistrationRequestPermitted(context); } - [CommandHipc(51)] + [CommandCmif(51)] // TrySelectUserWithoutInteraction(bool) -> nn::account::Uid public ResultCode TrySelectUserWithoutInteraction(ServiceCtx context) { return _applicationServiceServer.TrySelectUserWithoutInteraction(context); } - [CommandHipc(102)] + [CommandCmif(102)] // GetBaasAccountManagerForSystemService(nn::account::Uid) -> object<nn::account::baas::IManagerForApplication> public ResultCode GetBaasAccountManagerForSystemService(ServiceCtx context) { @@ -97,7 +97,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc return ResultCode.Success; } - [CommandHipc(140)] // 6.0.0+ + [CommandCmif(140)] // 6.0.0+ // ListQualifiedUsers() -> array<nn::account::Uid, 0xa> public ResultCode ListQualifiedUsers(ServiceCtx context) { diff --git a/Ryujinx.HLE/HOS/Services/Account/Acc/IAsyncContext.cs b/Ryujinx.HLE/HOS/Services/Account/Acc/IAsyncContext.cs index 9a12e701..c9af0727 100644 --- a/Ryujinx.HLE/HOS/Services/Account/Acc/IAsyncContext.cs +++ b/Ryujinx.HLE/HOS/Services/Account/Acc/IAsyncContext.cs @@ -14,7 +14,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc AsyncExecution = asyncExecution; } - [CommandHipc(0)] + [CommandCmif(0)] // GetSystemEvent() -> handle<copy> public ResultCode GetSystemEvent(ServiceCtx context) { @@ -28,7 +28,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc return ResultCode.Success; } - [CommandHipc(1)] + [CommandCmif(1)] // Cancel() public ResultCode Cancel(ServiceCtx context) { @@ -45,7 +45,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc return ResultCode.Success; } - [CommandHipc(2)] + [CommandCmif(2)] // HasDone() -> b8 public ResultCode HasDone(ServiceCtx context) { @@ -59,7 +59,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc return ResultCode.Success; } - [CommandHipc(3)] + [CommandCmif(3)] // GetResult() public ResultCode GetResult(ServiceCtx context) { diff --git a/Ryujinx.HLE/HOS/Services/Account/Acc/IAsyncNetworkServiceLicenseKindContext.cs b/Ryujinx.HLE/HOS/Services/Account/Acc/IAsyncNetworkServiceLicenseKindContext.cs index e62663e6..1fa5cf2a 100644 --- a/Ryujinx.HLE/HOS/Services/Account/Acc/IAsyncNetworkServiceLicenseKindContext.cs +++ b/Ryujinx.HLE/HOS/Services/Account/Acc/IAsyncNetworkServiceLicenseKindContext.cs @@ -11,7 +11,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc _serviceLicenseKind = serviceLicenseKind; } - [CommandHipc(100)] + [CommandCmif(100)] // GetNetworkServiceLicenseKind() -> nn::account::NetworkServiceLicenseKind public ResultCode GetNetworkServiceLicenseKind(ServiceCtx context) { |
