Line 48:
Line 48:
|-
|-
| 0xF
| 0xF
−
| GetThreadIdealProcessor
+
| GetThreadIdealProcessor(s32* processorid, handle thread)
|-
|-
| 0x10
| 0x10
−
| SetThreadIdealProcessor
+
| SetThreadIdealProcessor(handle thread, s32 processorid)
|-
|-
| 0x11
| 0x11
−
| GetCurrentProcessorNumber
+
| GetCurrentProcessorNumber(void)
|-
|-
| 0x12
| 0x12
−
| Run(Handle KProcess, unsigned int *buf) (This starts the main() thread. Buf+0 is main-thread priority, Buf+4 is main-thread stack-size.)
+
| Run(handle process, StartupInfo* info) (This starts the main() thread. Buf+0 is main-thread priority, Buf+4 is main-thread stack-size.)
|-
|-
| 0x13
| 0x13
−
| CreateMutex
+
| CreateMutex(handle* mutex, bool initialLocked)
|-
|-
| 0x14
| 0x14
−
| ReleaseMutex(Handle KMutex)
+
| ReleaseMutex(handle mutex)
|-
|-
| 0x15
| 0x15
−
| CreateSemaphore
+
| CreateSemaphore(handle* semaphore, s32 initialCount, s32 maxCount)
|-
|-
| 0x16
| 0x16
−
| ReleaseSemaphore
+
| ReleaseSemaphore(s32* count, handle semaphore, s32 releaseCount)
|-
|-
| 0x17
| 0x17
−
| CreateEvent(Handle *KEvent, unsigned char Unk)
+
| CreateEvent(handle* event, unsigned char resettype)
|-
|-
| 0x18
| 0x18
−
| SignalEvent(Handle KEvent)
+
| SignalEvent(handle event)
|-
|-
| 0x19
| 0x19
−
| ClearEvent
+
| ClearEvent(handle event)
|-
|-
| 0x1A
| 0x1A
−
| CreateTimer
+
| CreateTimer(handle* timer,
|-
|-
| 0x1B
| 0x1B