[NDM] Stub NDM service

This commit is contained in:
wheremyfoodat 2022-09-22 00:33:54 +03:00
parent aef1520f17
commit 36a30da78d
9 changed files with 84 additions and 10 deletions

18
include/services/ndm.hpp Normal file
View file

@ -0,0 +1,18 @@
#pragma once
#include "helpers.hpp"
#include "kernel_types.hpp"
#include "memory.hpp"
class NDMService {
Handle handle = KernelHandles::NDM;
Memory& mem;
// Service commands
void overrideDefaultDaemons(u32 messagePointer);
void suspendDaemons(u32 messagePointer);
public:
NDMService(Memory& mem) : mem(mem) {}
void reset();
void handleSyncRequest(u32 messagePointer);
};