diff options
| author | 2023-02-19 14:42:12 -0500 | |
|---|---|---|
| committer | 2023-03-01 10:39:49 -0500 | |
| commit | 65be230fdda302b25447f2f09b06e3238bd09e79 (patch) | |
| tree | 68250d7bc8151041b236dcd79483df98938952cd /src/core/hle/service/ssl | |
| parent | sm:: remove unused member (diff) | |
| download | yuzu-65be230fdda302b25447f2f09b06e3238bd09e79.tar.gz yuzu-65be230fdda302b25447f2f09b06e3238bd09e79.tar.xz yuzu-65be230fdda302b25447f2f09b06e3238bd09e79.zip | |
service: move hle_ipc from kernel
Diffstat (limited to 'src/core/hle/service/ssl')
| -rw-r--r-- | src/core/hle/service/ssl/ssl.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/hle/service/ssl/ssl.cpp b/src/core/hle/service/ssl/ssl.cpp index c1fd1a59b..b19bc1b3e 100644 --- a/src/core/hle/service/ssl/ssl.cpp +++ b/src/core/hle/service/ssl/ssl.cpp | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | // SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project | 1 | // SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project |
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | 3 | ||
| 4 | #include "core/hle/ipc_helpers.h" | 4 | #include "core/hle/service/ipc_helpers.h" |
| 5 | #include "core/hle/service/server_manager.h" | 5 | #include "core/hle/service/server_manager.h" |
| 6 | #include "core/hle/service/service.h" | 6 | #include "core/hle/service/service.h" |
| 7 | #include "core/hle/service/ssl/ssl.h" | 7 | #include "core/hle/service/ssl/ssl.h" |
| @@ -84,7 +84,7 @@ public: | |||
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | private: | 86 | private: |
| 87 | void SetOption(Kernel::HLERequestContext& ctx) { | 87 | void SetOption(HLERequestContext& ctx) { |
| 88 | struct Parameters { | 88 | struct Parameters { |
| 89 | u8 enable; | 89 | u8 enable; |
| 90 | u32 option; | 90 | u32 option; |
| @@ -100,7 +100,7 @@ private: | |||
| 100 | rb.Push(ResultSuccess); | 100 | rb.Push(ResultSuccess); |
| 101 | } | 101 | } |
| 102 | 102 | ||
| 103 | void CreateConnection(Kernel::HLERequestContext& ctx) { | 103 | void CreateConnection(HLERequestContext& ctx) { |
| 104 | LOG_WARNING(Service_SSL, "(STUBBED) called"); | 104 | LOG_WARNING(Service_SSL, "(STUBBED) called"); |
| 105 | 105 | ||
| 106 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 106 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| @@ -108,7 +108,7 @@ private: | |||
| 108 | rb.PushIpcInterface<ISslConnection>(system); | 108 | rb.PushIpcInterface<ISslConnection>(system); |
| 109 | } | 109 | } |
| 110 | 110 | ||
| 111 | void ImportServerPki(Kernel::HLERequestContext& ctx) { | 111 | void ImportServerPki(HLERequestContext& ctx) { |
| 112 | IPC::RequestParser rp{ctx}; | 112 | IPC::RequestParser rp{ctx}; |
| 113 | const auto certificate_format = rp.PopEnum<CertificateFormat>(); | 113 | const auto certificate_format = rp.PopEnum<CertificateFormat>(); |
| 114 | [[maybe_unused]] const auto pkcs_12_certificates = ctx.ReadBuffer(0); | 114 | [[maybe_unused]] const auto pkcs_12_certificates = ctx.ReadBuffer(0); |
| @@ -122,7 +122,7 @@ private: | |||
| 122 | rb.Push(server_id); | 122 | rb.Push(server_id); |
| 123 | } | 123 | } |
| 124 | 124 | ||
| 125 | void ImportClientPki(Kernel::HLERequestContext& ctx) { | 125 | void ImportClientPki(HLERequestContext& ctx) { |
| 126 | [[maybe_unused]] const auto pkcs_12_certificate = ctx.ReadBuffer(0); | 126 | [[maybe_unused]] const auto pkcs_12_certificate = ctx.ReadBuffer(0); |
| 127 | [[maybe_unused]] const auto ascii_password = [&ctx] { | 127 | [[maybe_unused]] const auto ascii_password = [&ctx] { |
| 128 | if (ctx.CanReadBuffer(1)) { | 128 | if (ctx.CanReadBuffer(1)) { |
| @@ -164,7 +164,7 @@ public: | |||
| 164 | 164 | ||
| 165 | private: | 165 | private: |
| 166 | u32 ssl_version{}; | 166 | u32 ssl_version{}; |
| 167 | void CreateContext(Kernel::HLERequestContext& ctx) { | 167 | void CreateContext(HLERequestContext& ctx) { |
| 168 | LOG_WARNING(Service_SSL, "(STUBBED) called"); | 168 | LOG_WARNING(Service_SSL, "(STUBBED) called"); |
| 169 | 169 | ||
| 170 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 170 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| @@ -172,7 +172,7 @@ private: | |||
| 172 | rb.PushIpcInterface<ISslContext>(system); | 172 | rb.PushIpcInterface<ISslContext>(system); |
| 173 | } | 173 | } |
| 174 | 174 | ||
| 175 | void SetInterfaceVersion(Kernel::HLERequestContext& ctx) { | 175 | void SetInterfaceVersion(HLERequestContext& ctx) { |
| 176 | LOG_DEBUG(Service_SSL, "called"); | 176 | LOG_DEBUG(Service_SSL, "called"); |
| 177 | 177 | ||
| 178 | IPC::RequestParser rp{ctx}; | 178 | IPC::RequestParser rp{ctx}; |