aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/spl/module.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-06-15 02:36:52 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-06-16 01:46:45 -0400
commit684d567adc4ba29bfa257cbc008867569e9441dc (patch)
tree138991fa104136f10b3f2af71ffe28e332c6207d /src/core/hle/service/spl/module.cpp
parentbb0caed2f16d2b4f11d78d3dc36b26616497b86d (diff)
spl: Add the general SPL interface
Diffstat (limited to 'src/core/hle/service/spl/module.cpp')
-rw-r--r--src/core/hle/service/spl/module.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/core/hle/service/spl/module.cpp b/src/core/hle/service/spl/module.cpp
index 0b5e2b7c3a..eabf2e3194 100644
--- a/src/core/hle/service/spl/module.cpp
+++ b/src/core/hle/service/spl/module.cpp
@@ -24,7 +24,13 @@ Module::Interface::Interface(Core::System& system_, std::shared_ptr<Module> modu
Module::Interface::~Interface() = default;
-void Module::Interface::GetRandomBytes(Kernel::HLERequestContext& ctx) {
+void Module::Interface::GetConfig(Kernel::HLERequestContext& ctx) {}
+
+void Module::Interface::ModularExponentiate(Kernel::HLERequestContext& ctx) {}
+
+void Module::Interface::SetConfig(Kernel::HLERequestContext& ctx) {}
+
+void Module::Interface::GenerateRandomBytes(Kernel::HLERequestContext& ctx) {
LOG_DEBUG(Service_SPL, "called");
const std::size_t size = ctx.GetWriteBufferSize();
@@ -39,6 +45,12 @@ void Module::Interface::GetRandomBytes(Kernel::HLERequestContext& ctx) {
rb.Push(ResultSuccess);
}
+void Module::Interface::IsDevelopment(Kernel::HLERequestContext& ctx) {}
+
+void Module::Interface::SetBootReason(Kernel::HLERequestContext& ctx) {}
+
+void Module::Interface::GetBootReason(Kernel::HLERequestContext& ctx) {}
+
void InstallInterfaces(SM::ServiceManager& service_manager, Core::System& system) {
auto module = std::make_shared<Module>();
std::make_shared<CSRNG>(system, module)->InstallAsService(service_manager);