Changes

Jump to: navigation, search

SVC

327 bytes added, 25 August
Add 32-bit ABI for svcStartProcess and svcGetProcessInfo. Also fix GetProcessInfo, it was missing so much shit.
| 0x79 || [[#svcCreateProcess]] || X1=procinfo_ptr, X2=caps_ptr, W3=cap_num || W0=result, W1=process_handle
|-
| 0x7A || svcStartProcess || W0=process_handle, W1=main_thread_prio, W2=default_cpuid, W3=main_thread_stacksz R0=process_handle, R1=main_thread_prio, R2=default_cpuid, R3=main_thread_stacksz_lower32, R4=main_thread_stacksz_upper32|| W0=result
|-
| 0x7B || svcTerminateProcess || W0=process_handle || W0=result
|-
| 0x7C || [[#svcGetProcessInfo]] || W0=process_handle, W1=[[#ProcessInfoType]] R1=process_handle, R2=[[#ProcessInfoType]]|| W0=result, X1=[[#ProcessState]]R0=result, R1=[[#ProcessState]]_lower32, R2=[[#ProcessState]]_upper32
|-
| 0x7D || svcCreateResourceLimit || None || W0=result, W1=reslimit_handle
{| class="wikitable" border="1"
|-
! Argument Argument64 || Argument32 || Type || Name|-| (In) W0 || R1 || Handle<Process> || ProcessHandle
|-
| (In) W0 W1 || Handle<Process> R2 || ProcessHandle[[#ProcessInfoType]] || InfoType
|-
| (Out) W0 || R0 || [[#Result]] || Ret
|-
| (Out) W1 X1 || R1, R2 || [[#ProcessState]] || State
|}
</div>
146
edits

Navigation menu