SVC: Difference between revisions
No edit summary |
|||
Line 827: | Line 827: | ||
= GetSystemInfo = | = GetSystemInfo = | ||
{| class="wikitable" border="1" | |||
! SystemInfoType value | |||
! s32 param | |||
! Description | |||
|- | |||
| 0 | |||
| 0 | |||
| This writes the total used memory size in the following memory regions to out: APPLICATION, SYSTEM, and BASE. | |||
|- | |||
| 0 | |||
| 1 | |||
| This writes the total used memory size in the APPLICATION memory region to out. | |||
|- | |||
| 0 | |||
| 2 | |||
| This writes the total used memory size in the SYSTEM memory region to out. | |||
|- | |||
| 0 | |||
| 3 | |||
| This writes the total used memory size in the BASE memory region to out. | |||
|- | |||
| 26 | |||
| Unused | |||
| This writes the total number of processes which were directly launched by the kernel, to out. For the NATIVE_FIRM/SAFE_MODE_FIRM ARM11 kernel, this is normally 5, for processes sm, fs, pm, loader, and pxi. | |||
|} | |||
= Kernel error-codes = | = Kernel error-codes = |