mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-06 22:25:41 +12:00
[NDM] Stub ResumeScheduler
This commit is contained in:
parent
c3b2699d47
commit
f7824774eb
2 changed files with 9 additions and 1 deletions
|
@ -11,6 +11,7 @@ class NDMService {
|
|||
|
||||
// Service commands
|
||||
void overrideDefaultDaemons(u32 messagePointer);
|
||||
void resumeScheduler(u32 messagePointer);
|
||||
void suspendDaemons(u32 messagePointer);
|
||||
void suspendScheduler(u32 messagePointer);
|
||||
|
||||
|
|
|
@ -4,7 +4,8 @@ namespace NDMCommands {
|
|||
enum : u32 {
|
||||
OverrideDefaultDaemons = 0x00140040,
|
||||
SuspendDaemons = 0x00060040,
|
||||
SuspendScheduler = 0x00080040
|
||||
SuspendScheduler = 0x00080040,
|
||||
ResumeScheduler = 0x00090000
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -20,6 +21,7 @@ void NDMService::handleSyncRequest(u32 messagePointer) {
|
|||
const u32 command = mem.read32(messagePointer);
|
||||
switch (command) {
|
||||
case NDMCommands::OverrideDefaultDaemons: overrideDefaultDaemons(messagePointer); break;
|
||||
case NDMCommands::ResumeScheduler: resumeScheduler(messagePointer); break;
|
||||
case NDMCommands::SuspendDaemons: suspendDaemons(messagePointer); break;
|
||||
case NDMCommands::SuspendScheduler: suspendScheduler(messagePointer); break;
|
||||
default: Helpers::panic("NDM service requested. Command: %08X\n", command);
|
||||
|
@ -36,6 +38,11 @@ void NDMService::suspendDaemons(u32 messagePointer) {
|
|||
mem.write32(messagePointer + 4, Result::Success);
|
||||
}
|
||||
|
||||
void NDMService::resumeScheduler(u32 messagePointer) {
|
||||
log("NDM::ResumeScheduler(stubbed)\n");
|
||||
mem.write32(messagePointer + 4, Result::Success);
|
||||
}
|
||||
|
||||
void NDMService::suspendScheduler(u32 messagePointer) {
|
||||
log("NDM::SuspendScheduler(stubbed)\n");
|
||||
mem.write32(messagePointer + 4, Result::Success);
|
||||
|
|
Loading…
Add table
Reference in a new issue