Line 75: |
Line 75: |
| Result SetThreadPriority(Handle thread, s32 priority); | | Result SetThreadPriority(Handle thread, s32 priority); |
| | | |
− | === OpenThread === | + | === OpenThread (svc 0x34) === |
| | | |
| '''Definition''' | | '''Definition''' |
| Result OpenThread(Handle* thread, Handle process, u32 threadId); | | Result OpenThread(Handle* thread, Handle process, u32 threadId); |
| | | |
− | === GetProcessIdOfThread === | + | === GetProcessIdOfThread (svc 0x36) === |
| | | |
| '''Definition''' | | '''Definition''' |
| Result GetProcessIdOfThread(u32* processId, Handle thread); | | Result GetProcessIdOfThread(u32* processId, Handle thread); |
| | | |
− | === GetThreadId === | + | === GetThreadId (svc 0x37) === |
| | | |
| '''Definition''' | | '''Definition''' |
| Result GetThreadId(u32* threadId, Handle thread); | | Result GetThreadId(u32* threadId, Handle thread); |
| | | |
− | === GetThreadInfo === | + | === GetThreadInfo (svc 0x2C) === |
| | | |
| '''Definition''' | | '''Definition''' |
Line 103: |
Line 103: |
| |} | | |} |
| | | |
− | === GetThreadContext === | + | === GetThreadContext (svc 0x3B) === |
| | | |
| '''Definition''' | | '''Definition''' |
Line 113: |
Line 113: |
| == Core affinity == | | == Core affinity == |
| | | |
− | === GetThreadAffinityMask === | + | === GetThreadAffinityMask (svc 0x0D) === |
| | | |
| '''Definition''' | | '''Definition''' |
| Result GetThreadAffinityMask(u8* affinitymask, Handle thread, s32 processorcount); | | Result GetThreadAffinityMask(u8* affinitymask, Handle thread, s32 processorcount); |
| | | |
− | === SetThreadAffinityMask === | + | === SetThreadAffinityMask (svc 0x0E) === |
| | | |
| '''Definition''' | | '''Definition''' |
| Result SetThreadAffinityMask(Handle thread, u8* affinitymask, s32 processorcount); | | Result SetThreadAffinityMask(Handle thread, u8* affinitymask, s32 processorcount); |
| | | |
− | === GetThreadIdealProcessor === | + | === GetThreadIdealProcessor (svc 0x0F) === |
| | | |
| '''Definition''' | | '''Definition''' |
| Result GetThreadIdealProcessor(s32* processorid, Handle thread); | | Result GetThreadIdealProcessor(s32* processorid, Handle thread); |
| | | |
− | === SetThreadIdealProcessor === | + | === SetThreadIdealProcessor (svc 0x10) === |
| | | |
| == Debug == | | == Debug == |