mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-24 04:26:25 +12:00
[ldr:ro] Add service skeleton
This commit is contained in:
parent
c77a2551ac
commit
c24c4a9d83
7 changed files with 75 additions and 4 deletions
include/services
20
include/services/ldr_ro.hpp
Normal file
20
include/services/ldr_ro.hpp
Normal file
|
@ -0,0 +1,20 @@
|
|||
#pragma once
|
||||
#include "helpers.hpp"
|
||||
#include "kernel_types.hpp"
|
||||
#include "logger.hpp"
|
||||
#include "memory.hpp"
|
||||
|
||||
class LDRService {
|
||||
Handle handle = KernelHandles::LDR_RO;
|
||||
Memory& mem;
|
||||
MAKE_LOG_FUNCTION(log, ldrLogger)
|
||||
|
||||
// Service commands
|
||||
void initialize(u32 messagePointer);
|
||||
void loadCRR(u32 messagePointer);
|
||||
|
||||
public:
|
||||
LDRService(Memory& mem) : mem(mem) {}
|
||||
void reset();
|
||||
void handleSyncRequest(u32 messagePointer);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue