mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-30 22:45:17 -04:00
kern: SvcGetLastThreadInfo, SvcGetDebugFutureThreadInfo
This commit is contained in:
parent
0993ae0685
commit
51084c0837
13 changed files with 325 additions and 18 deletions
|
@ -61,8 +61,8 @@ namespace ams::svc {
|
|||
R_DEFINE_ERROR_RESULT(ReservedUsed, 126);
|
||||
R_DEFINE_ERROR_RESULT(NotSupported, 127);
|
||||
R_DEFINE_ERROR_RESULT(Debug, 128);
|
||||
R_DEFINE_ERROR_RESULT(ThreadNotOwned, 129);
|
||||
|
||||
R_DEFINE_ERROR_RESULT(NoThread, 129);
|
||||
R_DEFINE_ERROR_RESULT(UnknownThread, 130);
|
||||
R_DEFINE_ERROR_RESULT(PortClosed, 131);
|
||||
R_DEFINE_ERROR_RESULT(LimitReached, 132);
|
||||
R_DEFINE_ERROR_RESULT(InvalidMemoryPool, 133);
|
||||
|
|
|
@ -188,7 +188,7 @@ namespace ams::svc {
|
|||
};
|
||||
|
||||
enum LastThreadInfoFlag : u32 {
|
||||
/* TODO */
|
||||
LastThreadInfoFlag_ThreadInSystemCall = (1u << 0),
|
||||
};
|
||||
|
||||
enum LimitableResource : u32 {
|
||||
|
@ -415,6 +415,10 @@ namespace ams::svc {
|
|||
DebugException_MemorySystemError = 9,
|
||||
};
|
||||
|
||||
enum DebugEventFlag : u32 {
|
||||
DebugEventFlag_Stopped = (1u << 0),
|
||||
};
|
||||
|
||||
enum ExceptionType : u32 {
|
||||
ExceptionType_Init = 0x000,
|
||||
ExceptionType_InstructionAbort = 0x100,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue