mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-03 17:58:29 +00:00
[Kernel] Allocate TLS for other threads, fix CreateThread svc
This commit is contained in:
parent
77078f73b3
commit
6bfe321777
5 changed files with 24 additions and 12 deletions
|
@ -64,7 +64,7 @@ class Kernel {
|
|||
Handle makeProcess();
|
||||
Handle makePort(const char* name);
|
||||
Handle makeSession(Handle port);
|
||||
Handle makeThread(u32 entrypoint, u32 initialSP, u32 priority, u32 id, ThreadStatus status = ThreadStatus::Dormant);
|
||||
Handle makeThread(u32 entrypoint, u32 initialSP, u32 priority, s32 id, u32 arg,ThreadStatus status = ThreadStatus::Dormant);
|
||||
|
||||
void sleepThreadOnArbiter(u32 waitingAddress);
|
||||
void switchThread(int newThreadIndex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue