Florin Sasu (florinsasu@yahoo.com) 2002-09-29, IOP SYSCALLS v0.1 /----------------------------------------------------------------------\ |index|offset|name | remarks | |=====|======|=================|=======================================| | 0 | 0 | | i haven't found a name for it | | 1 | 4 |CpuDisableIntr | see INTRMANI | | 2 | 8 |CpuEnableIntr | see INTRMANI | | 3 | 12 |intrman_call14 | see INTRMANI | | 4 | 16 |intrman_call17_19| see INTRMANI | | 5 | 20 |intrman_call18_20| see INTRMANI | | 6 | 24 |-=dummy=- | is a dummy call that will loop forever| | 7 | 28 |-=dummy=- | --||-- | | 8 | 32 |threadman | see THREADMAN | | 9 | 36 |-=dummy=- | | | 10 | 40 |-=dummy=- | | | 11 | 44 |-=dummy=- | | | 12 | 48 |-=dummy=- | | | 13 | 52 |-=dummy=- | | | 14 | 56 |-=dummy=- | | | 15 | 60 |-=dummy=- | | \----------------------------------------------------------------------/ Notes: - i haven't found a name (or a good one) for some calls, but when i find one i'll update this doc. - a syscall is done putting in v0 the number from the 'offset' column like this (for CpuEnableIntr syscall): li $v0, 8 syscall #0 jr $ra nop - v0 can be only a multiple of 4 - there are 16 syscalls