diff options
| author | Mary <me@thog.eu> | 2021-04-14 00:01:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-14 00:01:24 +0200 |
| commit | 0746b83edf49d1fd668dd337264e942f361b675c (patch) | |
| tree | 37b71396036206252cdc42715d6a3046ee81c795 /Ryujinx.HLE/HOS/Services/Ssl | |
| parent | faa654dbaf7cd5262c78c0961a5aa72b1ce8ac33 (diff) | |
Initial support for the new 12.x IPC system (#2182)
* Rename CommandAttribute as CommandHIpcAttribute to prepare for 12.x changes
* Implement inital support for TIPC and adds SM command ids
* *Ipc to *ipc
* Missed a ref in last commit...
* CommandAttributeTIpc to CommandAttributeTipc
* Addresses comment and fixes some bugs around
TIPC doesn't have any padding requirements as buffer C isn't a thing
Fix for RegisterService inverting two argument only on TIPC
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Ssl')
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Ssl/ISslService.cs | 4 | ||||
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Ssl/SslService/ISslConnection.cs | 16 | ||||
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Ssl/SslService/ISslContext.cs | 6 |
3 files changed, 13 insertions, 13 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Ssl/ISslService.cs b/Ryujinx.HLE/HOS/Services/Ssl/ISslService.cs index b99e7b56..b7811ec1 100644 --- a/Ryujinx.HLE/HOS/Services/Ssl/ISslService.cs +++ b/Ryujinx.HLE/HOS/Services/Ssl/ISslService.cs @@ -11,7 +11,7 @@ namespace Ryujinx.HLE.HOS.Services.Ssl // In this case it is acceptable to stub all calls of the service. public ISslService(ServiceCtx context) { } - [Command(0)] + [CommandHipc(0)] // CreateContext(nn::ssl::sf::SslVersion, u64, pid) -> object<nn::ssl::sf::ISslContext> public ResultCode CreateContext(ServiceCtx context) { @@ -25,7 +25,7 @@ namespace Ryujinx.HLE.HOS.Services.Ssl return ResultCode.Success; } - [Command(5)] + [CommandHipc(5)] // SetInterfaceVersion(u32) public ResultCode SetInterfaceVersion(ServiceCtx context) { diff --git a/Ryujinx.HLE/HOS/Services/Ssl/SslService/ISslConnection.cs b/Ryujinx.HLE/HOS/Services/Ssl/SslService/ISslConnection.cs index d039154c..76a61eed 100644 --- a/Ryujinx.HLE/HOS/Services/Ssl/SslService/ISslConnection.cs +++ b/Ryujinx.HLE/HOS/Services/Ssl/SslService/ISslConnection.cs @@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Services.Ssl.SslService { public ISslConnection() { } - [Command(0)] + [CommandHipc(0)] // SetSocketDescriptor(u32) -> u32 public ResultCode SetSocketDescriptor(ServiceCtx context) { @@ -22,7 +22,7 @@ namespace Ryujinx.HLE.HOS.Services.Ssl.SslService return ResultCode.Success; } - [Command(1)] + [CommandHipc(1)] // SetHostName(buffer<bytes, 5>) public ResultCode SetHostName(ServiceCtx context) { @@ -40,7 +40,7 @@ namespace Ryujinx.HLE.HOS.Services.Ssl.SslService return ResultCode.Success; } - [Command(2)] + [CommandHipc(2)] // SetVerifyOption(nn::ssl::sf::VerifyOption) public ResultCode SetVerifyOption(ServiceCtx context) { @@ -51,7 +51,7 @@ namespace Ryujinx.HLE.HOS.Services.Ssl.SslService return ResultCode.Success; } - [Command(3)] + [CommandHipc(3)] // SetIoMode(nn::ssl::sf::IoMode) public ResultCode SetIoMode(ServiceCtx context) { @@ -62,7 +62,7 @@ namespace Ryujinx.HLE.HOS.Services.Ssl.SslService return ResultCode.Success; } - [Command(8)] + [CommandHipc(8)] // DoHandshake() public ResultCode DoHandshake(ServiceCtx context) { @@ -71,7 +71,7 @@ namespace Ryujinx.HLE.HOS.Services.Ssl.SslService return ResultCode.Success; } - [Command(11)] + [CommandHipc(11)] // Write(buffer<bytes, 5>) -> u32 public ResultCode Write(ServiceCtx context) { @@ -87,7 +87,7 @@ namespace Ryujinx.HLE.HOS.Services.Ssl.SslService return ResultCode.Success; } - [Command(17)] + [CommandHipc(17)] // SetSessionCacheMode(nn::ssl::sf::SessionCacheMode) public ResultCode SetSessionCacheMode(ServiceCtx context) { @@ -98,7 +98,7 @@ namespace Ryujinx.HLE.HOS.Services.Ssl.SslService return ResultCode.Success; } - [Command(22)] + [CommandHipc(22)] // SetOption(b8, nn::ssl::sf::OptionType) public ResultCode SetOption(ServiceCtx context) { diff --git a/Ryujinx.HLE/HOS/Services/Ssl/SslService/ISslContext.cs b/Ryujinx.HLE/HOS/Services/Ssl/SslService/ISslContext.cs index 5341f360..46fda4d8 100644 --- a/Ryujinx.HLE/HOS/Services/Ssl/SslService/ISslContext.cs +++ b/Ryujinx.HLE/HOS/Services/Ssl/SslService/ISslContext.cs @@ -11,7 +11,7 @@ namespace Ryujinx.HLE.HOS.Services.Ssl.SslService public ISslContext(ServiceCtx context) { } - [Command(2)] + [CommandHipc(2)] // CreateConnection() -> object<nn::ssl::sf::ISslConnection> public ResultCode CreateConnection(ServiceCtx context) { @@ -20,7 +20,7 @@ namespace Ryujinx.HLE.HOS.Services.Ssl.SslService return ResultCode.Success; } - [Command(4)] + [CommandHipc(4)] // ImportServerPki(nn::ssl::sf::CertificateFormat certificateFormat, buffer<bytes, 5> certificate) -> u64 certificateId public ResultCode ImportServerPki(ServiceCtx context) { @@ -36,7 +36,7 @@ namespace Ryujinx.HLE.HOS.Services.Ssl.SslService return ResultCode.Success; } - [Command(5)] + [CommandHipc(5)] // ImportClientPki(buffer<bytes, 5> certificate, buffer<bytes, 5> ascii_password) -> u64 certificateId public ResultCode ImportClientPki(ServiceCtx context) { |
