mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 22:55:40 +12:00
This should clean up all HLE errorcode in the codebase. I didn't removed Rust::Result as this should be a cleanup for another iteration.
24 lines
No EOL
595 B
C++
24 lines
No EOL
595 B
C++
#pragma once
|
|
#include "helpers.hpp"
|
|
#include "kernel_types.hpp"
|
|
#include "logger.hpp"
|
|
#include "memory.hpp"
|
|
#include "result/result.hpp"
|
|
|
|
class NDMService {
|
|
Handle handle = KernelHandles::NDM;
|
|
Memory& mem;
|
|
MAKE_LOG_FUNCTION(log, ndmLogger)
|
|
|
|
// Service commands
|
|
void overrideDefaultDaemons(u32 messagePointer);
|
|
void resumeDaemons(u32 messagePointer);
|
|
void resumeScheduler(u32 messagePointer);
|
|
void suspendDaemons(u32 messagePointer);
|
|
void suspendScheduler(u32 messagePointer);
|
|
|
|
public:
|
|
NDMService(Memory& mem) : mem(mem) {}
|
|
void reset();
|
|
void handleSyncRequest(u32 messagePointer);
|
|
}; |