mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
Add svcTerminateDebugProcess
This commit is contained in:
parent
bc2dff0361
commit
40bccd7838
@ -841,6 +841,14 @@ Result svcDebugActiveProcess(Handle* debug, u64 processID);
|
|||||||
*/
|
*/
|
||||||
Result svcBreakDebugProcess(Handle debug);
|
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.
|
* @brief Gets an incoming debug event from a debugging session.
|
||||||
* @return Result code.
|
* @return Result code.
|
||||||
|
@ -451,6 +451,11 @@ SVC_BEGIN svcBreakDebugProcess
|
|||||||
ret
|
ret
|
||||||
SVC_END
|
SVC_END
|
||||||
|
|
||||||
|
SVC_BEGIN svcTerminateDebugProcess
|
||||||
|
svc 0x62
|
||||||
|
ret
|
||||||
|
SVC_END
|
||||||
|
|
||||||
SVC_BEGIN svcGetDebugEvent
|
SVC_BEGIN svcGetDebugEvent
|
||||||
svc 0x63
|
svc 0x63
|
||||||
ret
|
ret
|
||||||
|
Loading…
Reference in New Issue
Block a user