Add svcTerminateDebugProcess

This commit is contained in:
Michael Scire 2018-12-05 23:15:56 -08:00 committed by fincs
parent bc2dff0361
commit 40bccd7838
2 changed files with 13 additions and 0 deletions

View File

@ -841,6 +841,14 @@ Result svcDebugActiveProcess(Handle* debug, u64 processID);
*/
Result svcBreakDebugProcess(Handle debug);
/**
* @brief Terminates the process of an active debugging session.
* @return Result code.
* @note Syscall number 0x62.
* @warning This is a privileged syscall. Use \ref envIsSyscallHinted to check if it is available.
*/
Result svcTerminateDebugProcess(Handle debug);
/**
* @brief Gets an incoming debug event from a debugging session.
* @return Result code.

View File

@ -451,6 +451,11 @@ SVC_BEGIN svcBreakDebugProcess
ret
SVC_END
SVC_BEGIN svcTerminateDebugProcess
svc 0x62
ret
SVC_END
SVC_BEGIN svcGetDebugEvent
svc 0x63
ret