mirror of
https://github.com/switchbrew/nx-hbloader.git
synced 2025-06-21 13:32:40 +02:00
Allow homebrew to use debug svcs (#3)
* Add debug/process inspection svcs to the npdm (the non-writing ones are useful even without debug mode enabled) * Update the available svcs hint to match npdm
This commit is contained in:
parent
d6e56d487f
commit
6a5013f656
14
hbl.json
14
hbl.json
@ -109,6 +109,20 @@
|
|||||||
"svcCreateSharedMemory" : "0x50",
|
"svcCreateSharedMemory" : "0x50",
|
||||||
"svcMapTransferMemory" : "0x51",
|
"svcMapTransferMemory" : "0x51",
|
||||||
"svcUnmapTransferMemory" : "0x52",
|
"svcUnmapTransferMemory" : "0x52",
|
||||||
|
"svcDebugActiveProcess" : "0x60",
|
||||||
|
"svcBreakDebugProcess" : "0x61",
|
||||||
|
"svcTerminateDebugProcess" : "0x62",
|
||||||
|
"svcGetDebugEvent" : "0x63",
|
||||||
|
"svcContinueDebugEvent" : "0x64",
|
||||||
|
"svcGetProcessList" : "0x65",
|
||||||
|
"svcGetThreadList" : "0x66",
|
||||||
|
"svcGetDebugThreadContext" : "0x67",
|
||||||
|
"svcSetDebugThreadContext" : "0x68",
|
||||||
|
"svcQueryDebugProcessMemory" : "0x69",
|
||||||
|
"svcReadDebugProcessMemory" : "0x6A",
|
||||||
|
"svcWriteDebugProcessMemory" : "0x6B",
|
||||||
|
"svcSetHardwareBreakPoint" : "0x6C",
|
||||||
|
"svcGetDebugThreadParam" : "0x6D",
|
||||||
"svcConnectToPort" : "0x72",
|
"svcConnectToPort" : "0x72",
|
||||||
"svcSetProcessMemoryPermission" : "0x73",
|
"svcSetProcessMemoryPermission" : "0x73",
|
||||||
"svcMapProcessMemory" : "0x74",
|
"svcMapProcessMemory" : "0x74",
|
||||||
|
@ -309,7 +309,7 @@ void loadNro(void)
|
|||||||
{ EntryType_Argv, 0, {0, 0} },
|
{ EntryType_Argv, 0, {0, 0} },
|
||||||
{ EntryType_NextLoadPath, 0, {0, 0} },
|
{ EntryType_NextLoadPath, 0, {0, 0} },
|
||||||
{ EntryType_LastLoadResult, 0, {0, 0} },
|
{ EntryType_LastLoadResult, 0, {0, 0} },
|
||||||
{ EntryType_SyscallAvailableHint, 0, {0xffffffffffffffff, 0x1fc00000007ffff} },
|
{ EntryType_SyscallAvailableHint, 0, {0xffffffffffffffff, 0x1fc1fff0007ffff} },
|
||||||
{ EntryType_EndOfList, 0, {0, 0} }
|
{ EntryType_EndOfList, 0, {0, 0} }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user