pm: add AtmosphereGetCurrentLimitInfo command to pm:dmnt

This commit is contained in:
misson20000 authored and SciresM committed 2018-10-05 13:55:27 +09:00
1 parent ca0e41e8a0
commit 2d6aba7a70
4 files changed
+41 -2

No files matched your search

+5 -2
View File
@@ -29,7 +29,8 @@ enum DmntCmd {
Dmnt_Cmd_GetApplicationProcessId = 5,
Dmnt_Cmd_EnableDebugForApplication = 6,
Dmnt_Cmd_AtmosphereGetProcessHandle = 65000
Dmnt_Cmd_AtmosphereGetProcessHandle = 65000,
Dmnt_Cmd_AtmosphereGetCurrentLimitInfo = 65001,
};
enum DmntCmd_5X {
@@ -42,7 +43,8 @@ enum DmntCmd_5X {
Dmnt_Cmd_6X_DisableDebug = 6,
Dmnt_Cmd_5X_AtmosphereGetProcessHandle = 65000
Dmnt_Cmd_5X_AtmosphereGetProcessHandle = 65000,
Dmnt_Cmd_5X_AtmosphereGetCurrentLimitInfo = 65001,
};
class DebugMonitorService final : public IServiceObject {
@@ -67,4 +69,5 @@ class DebugMonitorService final : public IServiceObject {
/* Atmosphere commands. */
std::tuple<Result, CopiedHandle> get_process_handle(u64 pid);
std::tuple<Result, u64, u64> get_current_limit_info(u32 category, u32 resource);
};