Kernel ABI: Difference between revisions
Jump to navigation
Jump to search
m QueryMemory permission return is an MemoryPermission enum |
No edit summary |
||
| Line 62: | Line 62: | ||
<code>r0</code>: <code>Result</code><br> | <code>r0</code>: <code>Result</code><br> | ||
<code>r1</code>: <code>s32 processorid</code> | <code>r1</code>: <code>s32 processorid</code> | ||
|- | |||
| 0x24 | |||
| WaitSynchronization1 | |||
| | |||
<code>r0</code>: <code>Handle handle</code><br> | |||
<code>r2-r3</code>: <code>s64 timeout</code> | |||
| | |||
<code>r0</code>: <code>Result</code> | |||
|- | |- | ||
| 0x1B | | 0x1B | ||
Revision as of 10:30, 15 April 2018
Inputs are read from registers starting from r0 and outputs are written back to the same registers (also starting with r0).
| ID | Name | Inputs | Outputs |
|---|---|---|---|
| 0x01 | ControlMemory |
|
|
| 0x02 | QueryMemory |
|
|
| 0x03 | ExitProcess | None | None |
| 0x04 | GetProcessAffinityMask |
|
|
| 0x04 | SetProcessAffinityMask |
|
|
| 0x05 | GetProcessIdealProcessor |
|
|
| 0x24 | WaitSynchronization1 |
|
|
| 0x1B | SetTimer | Timer handle, initial_low, interval_low, initial_high, interval_high | Result |
| 0x2D | ConnectToPort | ??, pointer to port name | Result, handle to KClientSession |
| 0x32 | SendSyncRequest | handle to KClientSession | Result |