Line 19: |
Line 19: |
| <code>r0</code>: <code>Result</code><br> | | <code>r0</code>: <code>Result</code><br> |
| <code>r1</code>: <code>u32 addr_out</code> | | <code>r1</code>: <code>u32 addr_out</code> |
| + | |- |
| + | | 0x02 |
| + | | QueryMemory |
| + | | |
| + | <code>r2</code>?: <code>u32 addr</code> |
| + | | |
| + | <code>r0</code>: <code>Result</code><br> |
| + | <code>r1</code>: <code>u32 base_process_virtual_address</code><br> |
| + | <code>r2</code>: <code>u32 size</code><br> |
| + | <code>r3</code>: <code>u32 permission</code><br> |
| + | <code>r4</code>: <code>[[Memory_Management#enum_MemoryState|MemoryState]] state</code><br> |
| + | <code>r5</code>: <code>[[Memory_Management#enum_PageFlags|PageFlags]] page_flags</code> |
| + | |- |
| + | | 0x03 |
| + | | ExitProcess |
| + | | None |
| + | | None |
| + | |- |
| + | | 0x04 |
| + | | GetProcessAffinityMask |
| + | | |
| + | <code>r0</code>: <code>[out] u8* affinitymask</code><br> |
| + | <code>r1</code>: <code>Handle process</code><br> |
| + | <code>r2</code>: <code>s32 processorcount</code> |
| + | | |
| + | <code>r0</code>: <code>Result</code> |
| + | |- |
| + | | 0x04 |
| + | | SetProcessAffinityMask |
| + | | |
| + | <code>r0</code>: <code>Handle process</code><br> |
| + | <code>r1</code>: <code>[in] u8* affinitymask</code><br> |
| + | <code>r2</code>: <code>s32 processorcount</code> |
| + | | |
| + | <code>r0</code>: <code>Result</code> |
| + | |- |
| + | | 0x05 |
| + | | GetProcessIdealProcessor |
| + | | |
| + | <code>r1</code>?: <code>Handle process</code> |
| + | | |
| + | <code>r0</code>: <code>Result</code><br> |
| + | <code>r1</code>: <code>s32 processorid</code> |
| |- | | |- |
| | 0x1B | | | 0x1B |