diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-06-15 10:45:47 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-06-16 07:46:45 +0200 |
commit | 4a4e30431995cd37684f1d254c1bb83180c01112 (patch) | |
tree | e4f994387a321cd8a763c2dc25a4cafd27e40587 /src/core | |
parent | spl: Implement spl::GetConfig (diff) | |
download | yuzu-4a4e30431995cd37684f1d254c1bb83180c01112.tar yuzu-4a4e30431995cd37684f1d254c1bb83180c01112.tar.gz yuzu-4a4e30431995cd37684f1d254c1bb83180c01112.tar.bz2 yuzu-4a4e30431995cd37684f1d254c1bb83180c01112.tar.lz yuzu-4a4e30431995cd37684f1d254c1bb83180c01112.tar.xz yuzu-4a4e30431995cd37684f1d254c1bb83180c01112.tar.zst yuzu-4a4e30431995cd37684f1d254c1bb83180c01112.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/spl/module.cpp | 35 |
1 files changed, 30 insertions, 5 deletions
diff --git a/src/core/hle/service/spl/module.cpp b/src/core/hle/service/spl/module.cpp index 11a44edbb..ebb179aa8 100644 --- a/src/core/hle/service/spl/module.cpp +++ b/src/core/hle/service/spl/module.cpp @@ -50,9 +50,19 @@ void Module::Interface::GetConfig(Kernel::HLERequestContext& ctx) { rb.Push(*smc_result); } -void Module::Interface::ModularExponentiate(Kernel::HLERequestContext& ctx) {} +void Module::Interface::ModularExponentiate(Kernel::HLERequestContext& ctx) { + UNIMPLEMENTED_MSG("ModularExponentiate is not implemented!"); -void Module::Interface::SetConfig(Kernel::HLERequestContext& ctx) {} + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(ResultSecureMonitorNotImplemented); +} + +void Module::Interface::SetConfig(Kernel::HLERequestContext& ctx) { + UNIMPLEMENTED_MSG("SetConfig is not implemented!"); + + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(ResultSecureMonitorNotImplemented); +} void Module::Interface::GenerateRandomBytes(Kernel::HLERequestContext& ctx) { LOG_DEBUG(Service_SPL, "called"); @@ -69,11 +79,26 @@ void Module::Interface::GenerateRandomBytes(Kernel::HLERequestContext& ctx) { rb.Push(ResultSuccess); } -void Module::Interface::IsDevelopment(Kernel::HLERequestContext& ctx) {} +void Module::Interface::IsDevelopment(Kernel::HLERequestContext& ctx) { + UNIMPLEMENTED_MSG("IsDevelopment is not implemented!"); -void Module::Interface::SetBootReason(Kernel::HLERequestContext& ctx) {} + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(ResultSecureMonitorNotImplemented); +} -void Module::Interface::GetBootReason(Kernel::HLERequestContext& ctx) {} +void Module::Interface::SetBootReason(Kernel::HLERequestContext& ctx) { + UNIMPLEMENTED_MSG("SetBootReason is not implemented!"); + + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(ResultSecureMonitorNotImplemented); +} + +void Module::Interface::GetBootReason(Kernel::HLERequestContext& ctx) { + UNIMPLEMENTED_MSG("GetBootReason is not implemented!"); + + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(ResultSecureMonitorNotImplemented); +} ResultVal<u64> Module::Interface::GetConfigImpl(ConfigItem config_item) const { switch (config_item) { |