summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Morph2021-06-15 04:45:47 -0400
committerGravatar Morph2021-06-16 01:46:45 -0400
commit4a4e30431995cd37684f1d254c1bb83180c01112 (patch)
treee4f994387a321cd8a763c2dc25a4cafd27e40587
parentspl: Implement spl::GetConfig (diff)
downloadyuzu-4a4e30431995cd37684f1d254c1bb83180c01112.tar.gz
yuzu-4a4e30431995cd37684f1d254c1bb83180c01112.tar.xz
yuzu-4a4e30431995cd37684f1d254c1bb83180c01112.zip
spl: Mark the other functions as unimplemented
-rw-r--r--src/core/hle/service/spl/module.cpp35
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) {
50 rb.Push(*smc_result); 50 rb.Push(*smc_result);
51} 51}
52 52
53void Module::Interface::ModularExponentiate(Kernel::HLERequestContext& ctx) {} 53void Module::Interface::ModularExponentiate(Kernel::HLERequestContext& ctx) {
54 UNIMPLEMENTED_MSG("ModularExponentiate is not implemented!");
54 55
55void Module::Interface::SetConfig(Kernel::HLERequestContext& ctx) {} 56 IPC::ResponseBuilder rb{ctx, 2};
57 rb.Push(ResultSecureMonitorNotImplemented);
58}
59
60void Module::Interface::SetConfig(Kernel::HLERequestContext& ctx) {
61 UNIMPLEMENTED_MSG("SetConfig is not implemented!");
62
63 IPC::ResponseBuilder rb{ctx, 2};
64 rb.Push(ResultSecureMonitorNotImplemented);
65}
56 66
57void Module::Interface::GenerateRandomBytes(Kernel::HLERequestContext& ctx) { 67void Module::Interface::GenerateRandomBytes(Kernel::HLERequestContext& ctx) {
58 LOG_DEBUG(Service_SPL, "called"); 68 LOG_DEBUG(Service_SPL, "called");
@@ -69,11 +79,26 @@ void Module::Interface::GenerateRandomBytes(Kernel::HLERequestContext& ctx) {
69 rb.Push(ResultSuccess); 79 rb.Push(ResultSuccess);
70} 80}
71 81
72void Module::Interface::IsDevelopment(Kernel::HLERequestContext& ctx) {} 82void Module::Interface::IsDevelopment(Kernel::HLERequestContext& ctx) {
83 UNIMPLEMENTED_MSG("IsDevelopment is not implemented!");
73 84
74void Module::Interface::SetBootReason(Kernel::HLERequestContext& ctx) {} 85 IPC::ResponseBuilder rb{ctx, 2};
86 rb.Push(ResultSecureMonitorNotImplemented);
87}
75 88
76void Module::Interface::GetBootReason(Kernel::HLERequestContext& ctx) {} 89void Module::Interface::SetBootReason(Kernel::HLERequestContext& ctx) {
90 UNIMPLEMENTED_MSG("SetBootReason is not implemented!");
91
92 IPC::ResponseBuilder rb{ctx, 2};
93 rb.Push(ResultSecureMonitorNotImplemented);
94}
95
96void Module::Interface::GetBootReason(Kernel::HLERequestContext& ctx) {
97 UNIMPLEMENTED_MSG("GetBootReason is not implemented!");
98
99 IPC::ResponseBuilder rb{ctx, 2};
100 rb.Push(ResultSecureMonitorNotImplemented);
101}
77 102
78ResultVal<u64> Module::Interface::GetConfigImpl(ConfigItem config_item) const { 103ResultVal<u64> Module::Interface::GetConfigImpl(ConfigItem config_item) const {
79 switch (config_item) { 104 switch (config_item) {