kern: implement port debug

This commit is contained in:
Michael Scire 2020-12-10 01:44:27 -08:00
parent 8a4bf6a0a8
commit 0acd79c8c2
6 changed files with 132 additions and 6 deletions

View file

@ -470,14 +470,15 @@ namespace ams::svc {
};
enum KernelDebugType : u32 {
KernelDebugType_Thread = 0,
KernelDebugType_ThreadCallStack = 1,
KernelDebugType_Thread = 0,
KernelDebugType_ThreadCallStack = 1,
KernelDebugType_Handle = 3,
KernelDebugType_Handle = 3,
KernelDebugType_Process = 7,
KernelDebugType_SuspendProcess = 8,
KernelDebugType_ResumeProcess = 9,
KernelDebugType_Process = 7,
KernelDebugType_SuspendProcess = 8,
KernelDebugType_ResumeProcess = 9,
KernelDebugType_Port = 10,
};
enum KernelTraceState : u32 {