Line 6: |
Line 6: |
| |- | | |- |
| | 0x1 | | | 0x1 |
− | | ControlMemory(unsigned int *OutAddr, unsigned int Addr0, unsigned int Addr1, unsigned int Size, unsigned int MemoryType, unsigned int Permissions) (OutAddr is usually the same as the input Addr0) | + | | 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 *Info, unsigned int *Out, unsigned int Addr) | + | | 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(unsigned int *IdealProcessor, Handle KProcess) | + | | GetProcessIdealProcessor(s32 *idealprocessor, handle process) |
| |- | | |- |
| | 0x7 | | | 0x7 |
− | | SetProcessIdealProcessor(Handle KProcess, unsigned int IdealProcessor) | + | | SetProcessIdealProcessor(handle process, s32 idealprocessor) |
| |- | | |- |
| | 0x8 | | | 0x8 |
− | | CreateThread(Handle*, Entrypoint, Entrypoint_Param, StackTop, ThreadPriority, ResLimit) | + | | CreateThread(handle* thread, Entrypoint, void* arg, , ThreadPriority, ResLimit) |
| |- | | |- |
| | 0x9 | | | 0x9 |