Line 17:
Line 17:
| 0x7 || svcExitProcess || None ||
| 0x7 || svcExitProcess || None ||
|-
|-
−
| 0x8 || svcCreateThread || ||
+
| 0x8 || [[#svcCreateThread]] || X1=entry, X2=arg, X3=stacktop, W4=prio, W5=processor_id ||
|-
|-
| 0x9 || svcStartThread || W0=thread_handle ||
| 0x9 || svcStartThread || W0=thread_handle ||
Line 130:
Line 130:
The source region gets reprotected to ---, and sets bit32 is set in [[#MemoryState]].
The source region gets reprotected to ---, and sets bit32 is set in [[#MemoryState]].
+
+
== svcCreateThread ==
+
Processor_id must be 0,1,2,3 or -2.
== svcSleepThread ==
== svcSleepThread ==