SVC: Difference between revisions
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
|- | |- | ||
| 0x1 | | 0x1 | ||
| ControlMemory( | | ControlMemory(u32* outaddr, u32 addr0, u32 addr1, u32 size, u32 operation, u32 permissions) (outaddr is usually the same as the input addr0) | ||
|- | |- | ||
| 0x2 | | 0x2 | ||
| QueryMemory(MemInfo * | | QueryMemory(MemInfo* info, PageInfo* out, u32 Addr) | ||
|- | |- | ||
| 0x3 | | 0x3 | ||
| ExitProcess() | | ExitProcess(void) | ||
|- | |- | ||
| 0x4 | | 0x4 | ||
| GetProcessAffinityMask | | GetProcessAffinityMask(u8* affinitymask, handle process, s32 processorcount) | ||
|- | |- | ||
| 0x5 | | 0x5 | ||
| SetProcessAffinityMask | | SetProcessAffinityMask(handle process, u8* affinitymask, s32 processorcount) | ||
|- | |- | ||
| 0x6 | | 0x6 | ||
| GetProcessIdealProcessor( | | GetProcessIdealProcessor(s32 *idealprocessor, handle process) | ||
|- | |- | ||
| 0x7 | | 0x7 | ||
| SetProcessIdealProcessor( | | SetProcessIdealProcessor(handle process, s32 idealprocessor) | ||
|- | |- | ||
| 0x8 | | 0x8 | ||
| CreateThread( | | CreateThread(handle* thread, Entrypoint, void* arg, , ThreadPriority, ResLimit) | ||
|- | |- | ||
| 0x9 | | 0x9 |