SVC: Difference between revisions

Neimod (talk | contribs)
No edit summary
Neimod (talk | contribs)
No edit summary
Line 27: Line 27:
|-
|-
| 0x8  
| 0x8  
| Result CreateThread(Handle* thread, func entrypoint, u32 arg, u32 stacktop, s32 threadpriority, s32 processorid)
| Result [[#CreateThread|CreateThread]](Handle* thread, func entrypoint, u32 arg, u32 stacktop, s32 threadpriority, s32 processorid)
|-
|-
| 0x9  
| 0x9  
Line 331: Line 331:


== CreateThread ==
== CreateThread ==
  R0=threadpriority
  R0=s32 threadpriority
  R1=entrypoint
  R1=func entrypoint
  R2=arg
  R2=u32 arg
  R3=stacktop
  R3=u32 stacktop
  R4=processorid
  R4=s32 processorid


  result=R0
  Result result=R0
  thread=R1
  Handle* thread=R1


= Types and structures =
= Types and structures =