Line 827: |
Line 827: |
| | | |
| = GetSystemInfo = | | = GetSystemInfo = |
− | Type0 value 26(Type1 is unused) writes the total number of processes which were directly launched by the kernel, to Output. For the NATIVE_FIRM/SAFE_MODE_FIRM ARM11 kernel, this is normally 5, for processes sm, fs, pm, loader, and pxi.
| + | {| 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 = |