Changes

Jump to navigation Jump to search
112 bytes added ,  22:32, 18 August 2019
32-bit regs for CreateThread. Bad Guy Nintendo is after my sanity.
| 0x7 || [[#svcExitProcess]] || None ||
|-
| 0x8 || [[#svcCreateThread]] || X1=entry, X2=thread_context, X3=stacktop, W4=prio, W5=processor_id R0=prio, R1=entry, R2=thread_context, R3=stacktop, R4=processor_id || W0=result, W1=handle
|-
| 0x9 || [[#svcStartThread]] || W0=thread_handle || W0=result
{| class="wikitable" border="1"
|-
! Argument Argument64 || Argument32 || Type || Name
|-
| (In) X1 || R1 || void(*)(void*) || Entry
|-
| (In) X2 || R2 || void* || ThreadContext
|-
| (In) X3 || R3 || void* || StackTop
|-
| (In) W4 || R0 || u32 || Priority
|-
| (In) W5 || R4 || u32 || ProcessorId
|-
| (Out) W0 || [[#Result]] || Ret
151

edits

Navigation menu