PS2SDK
PS2 Homebrew Libraries
|
Go to the source code of this file.
This file contains the system call numbers, similar to asm/unistd.h on Linux.
Definition in file syscallnr.h.
#define __NR_ResetEE 1 |
Definition at line 9 of file syscallnr.h.
#define __NR_SetGsCrt 2 |
Definition at line 10 of file syscallnr.h.
#define __NR_KExit 4 |
Definition at line 11 of file syscallnr.h.
#define __NR_ResumeIntrDispatch 5 |
Definition at line 12 of file syscallnr.h.
#define __NR__LoadExecPS2 6 |
Definition at line 13 of file syscallnr.h.
#define __NR__ExecPS2 7 |
Definition at line 14 of file syscallnr.h.
#define __NR_ResumeT3IntrDispatch 8 |
Definition at line 15 of file syscallnr.h.
#define __NR_RFU009 9 |
Definition at line 16 of file syscallnr.h.
#define __NR_AddSbusIntcHandler 0xa |
Definition at line 17 of file syscallnr.h.
#define __NR_RemoveSbusIntcHandler 0xb |
Definition at line 18 of file syscallnr.h.
#define __NR_Interrupt2Iop 0xc |
Definition at line 19 of file syscallnr.h.
#define __NR_SetVTLBRefillHandler 0xd |
Definition at line 20 of file syscallnr.h.
#define __NR_SetVCommonHandler 0xe |
Definition at line 21 of file syscallnr.h.
#define __NR_SetVInterruptHandler 0xf |
Definition at line 22 of file syscallnr.h.
#define __NR_AddIntcHandler 0x10 |
Definition at line 23 of file syscallnr.h.
#define __NR_AddIntcHandler2 __NR_AddIntcHandler |
Definition at line 24 of file syscallnr.h.
#define __NR_RemoveIntcHandler 0x11 |
Definition at line 25 of file syscallnr.h.
#define __NR_AddDmacHandler 0x12 |
Definition at line 26 of file syscallnr.h.
#define __NR_AddDmacHandler2 __NR_AddDmacHandler |
Definition at line 27 of file syscallnr.h.
#define __NR_RemoveDmacHandler 0x13 |
Definition at line 28 of file syscallnr.h.
#define __NR__EnableIntc 0x14 |
Definition at line 29 of file syscallnr.h.
#define __NR__DisableIntc 0x15 |
Definition at line 30 of file syscallnr.h.
#define __NR__EnableDmac 0x16 |
Definition at line 31 of file syscallnr.h.
#define __NR__DisableDmac 0x17 |
Definition at line 32 of file syscallnr.h.
#define __NR__SetAlarm 0x18 |
Definition at line 33 of file syscallnr.h.
#define __NR__ReleaseAlarm 0x19 |
Definition at line 34 of file syscallnr.h.
#define __NR_SetAlarm 0xfc |
Definition at line 35 of file syscallnr.h.
#define __NR_ReleaseAlarm 0xfe |
Definition at line 36 of file syscallnr.h.
#define __NR__iEnableIntc (-0x1a) |
Definition at line 37 of file syscallnr.h.
#define __NR__iDisableIntc (-0x1b) |
Definition at line 38 of file syscallnr.h.
#define __NR__iEnableDmac (-0x1c) |
Definition at line 39 of file syscallnr.h.
#define __NR__iDisableDmac (-0x1d) |
Definition at line 40 of file syscallnr.h.
#define __NR__iSetAlarm (-0x1e) |
Definition at line 41 of file syscallnr.h.
#define __NR__iReleaseAlarm (-0x1f) |
Definition at line 42 of file syscallnr.h.
#define __NR_iSetAlarm (-0xfd) |
Definition at line 43 of file syscallnr.h.
#define __NR_iReleaseAlarm (-0xff) |
Definition at line 44 of file syscallnr.h.
#define __NR_CreateThread 0x20 |
Definition at line 45 of file syscallnr.h.
#define __NR_DeleteThread 0x21 |
Definition at line 46 of file syscallnr.h.
#define __NR_StartThread 0x22 |
Definition at line 47 of file syscallnr.h.
#define __NR_ExitThread 0x23 |
Definition at line 48 of file syscallnr.h.
#define __NR_ExitDeleteThread 0x24 |
Definition at line 49 of file syscallnr.h.
#define __NR_TerminateThread 0x25 |
Definition at line 50 of file syscallnr.h.
#define __NR_iTerminateThread (-0x26) |
Definition at line 51 of file syscallnr.h.
#define __NR_DisableDispatchThread 0x27 |
Definition at line 52 of file syscallnr.h.
#define __NR_EnableDispatchThread 0x28 |
Definition at line 53 of file syscallnr.h.
#define __NR_ChangeThreadPriority 0x29 |
Definition at line 54 of file syscallnr.h.
#define __NR_iChangeThreadPriority (-0x2a) |
Definition at line 55 of file syscallnr.h.
#define __NR_RotateThreadReadyQueue 0x2b |
Definition at line 56 of file syscallnr.h.
#define __NR__iRotateThreadReadyQueue (-0x2c) |
Definition at line 57 of file syscallnr.h.
#define __NR_ReleaseWaitThread 0x2d |
Definition at line 58 of file syscallnr.h.
#define __NR_iReleaseWaitThread (-0x2e) |
Definition at line 59 of file syscallnr.h.
#define __NR_GetThreadId 0x2f |
Definition at line 60 of file syscallnr.h.
#define __NR__iGetThreadId (-0x2f) |
Definition at line 61 of file syscallnr.h.
#define __NR_ReferThreadStatus 0x30 |
Definition at line 62 of file syscallnr.h.
#define __NR_iReferThreadStatus (-0x31) |
Definition at line 63 of file syscallnr.h.
#define __NR_SleepThread 0x32 |
Definition at line 64 of file syscallnr.h.
#define __NR_WakeupThread 0x33 |
Definition at line 65 of file syscallnr.h.
#define __NR__iWakeupThread (-0x34) |
Definition at line 66 of file syscallnr.h.
#define __NR_CancelWakeupThread 0x35 |
Definition at line 67 of file syscallnr.h.
#define __NR_iCancelWakeupThread (-0x36) |
Definition at line 68 of file syscallnr.h.
#define __NR_SuspendThread 0x37 |
Definition at line 69 of file syscallnr.h.
#define __NR__iSuspendThread (-0x38) |
Definition at line 70 of file syscallnr.h.
#define __NR_ResumeThread 0x39 |
Definition at line 71 of file syscallnr.h.
#define __NR_iResumeThread (-0x3a) |
Definition at line 72 of file syscallnr.h.
#define __NR_RFU059 0x3b |
Definition at line 73 of file syscallnr.h.
#define __NR_RFU060 0x3c |
Definition at line 74 of file syscallnr.h.
#define __NR_SetupThread __NR_RFU060 |
Definition at line 75 of file syscallnr.h.
#define __NR_RFU061 0x3d |
Definition at line 76 of file syscallnr.h.
#define __NR_SetupHeap __NR_RFU061 |
Definition at line 77 of file syscallnr.h.
#define __NR_EndOfHeap 0x3e |
Definition at line 78 of file syscallnr.h.
#define __NR_CreateSema 0x40 |
Definition at line 79 of file syscallnr.h.
#define __NR_DeleteSema 0x41 |
Definition at line 80 of file syscallnr.h.
#define __NR_SignalSema 0x42 |
Definition at line 81 of file syscallnr.h.
#define __NR_iSignalSema (-0x43) |
Definition at line 82 of file syscallnr.h.
#define __NR_WaitSema 0x44 |
Definition at line 83 of file syscallnr.h.
#define __NR_PollSema 0x45 |
Definition at line 84 of file syscallnr.h.
#define __NR_iPollSema (-0x46) |
Definition at line 85 of file syscallnr.h.
#define __NR_ReferSemaStatus 0x47 |
Definition at line 86 of file syscallnr.h.
#define __NR_iReferSemaStatus (-0x48) |
Definition at line 87 of file syscallnr.h.
#define __NR_iDeleteSema (-0x49) |
Definition at line 88 of file syscallnr.h.
#define __NR_SetOsdConfigParam 0x4a |
Definition at line 89 of file syscallnr.h.
#define __NR_GetOsdConfigParam 0x4b |
Definition at line 90 of file syscallnr.h.
#define __NR_GetGsHParam 0x4c |
Definition at line 91 of file syscallnr.h.
#define __NR_GetGsVParam 0x4d |
Definition at line 92 of file syscallnr.h.
#define __NR_SetGsHParam 0x4e |
Definition at line 93 of file syscallnr.h.
#define __NR_SetGsVParam 0x4f |
Definition at line 94 of file syscallnr.h.
#define __NR_CreateEventFlag 0x50 |
Definition at line 95 of file syscallnr.h.
#define __NR_DeleteEventFlag 0x51 |
Definition at line 96 of file syscallnr.h.
#define __NR_SetEventFlag 0x52 |
Definition at line 97 of file syscallnr.h.
#define __NR_iSetEventFlag 0x53 |
Definition at line 98 of file syscallnr.h.
#define __NR_xlaunch 0x54 |
Definition at line 99 of file syscallnr.h.
#define __NR_PutTLBEntry 0x55 |
Definition at line 100 of file syscallnr.h.
#define __NR_iPutTLBEntry (-0x55) |
Definition at line 101 of file syscallnr.h.
#define __NR__SetTLBEntry 0x56 |
Definition at line 102 of file syscallnr.h.
#define __NR_iSetTLBEntry (-0x56) |
Definition at line 103 of file syscallnr.h.
#define __NR_GetTLBEntry 0x57 |
Definition at line 104 of file syscallnr.h.
#define __NR_iGetTLBEntry (-0x57) |
Definition at line 105 of file syscallnr.h.
#define __NR_ProbeTLBEntry 0x58 |
Definition at line 106 of file syscallnr.h.
#define __NR_iProbeTLBEntry (-0x58) |
Definition at line 107 of file syscallnr.h.
#define __NR_ExpandScratchPad 0x59 |
Definition at line 108 of file syscallnr.h.
#define __NR_Copy 0x5A |
Definition at line 109 of file syscallnr.h.
#define __NR_GetEntryAddress 0x5B |
Definition at line 110 of file syscallnr.h.
#define __NR_EnableIntcHandler 0x5C |
Definition at line 111 of file syscallnr.h.
#define __NR_iEnableIntcHandler (-0x5C) |
Definition at line 112 of file syscallnr.h.
#define __NR_DisableIntcHandler 0x5D |
Definition at line 113 of file syscallnr.h.
#define __NR_iDisableIntcHandler (-0x5D) |
Definition at line 114 of file syscallnr.h.
#define __NR_EnableDmacHandler 0x5E |
Definition at line 115 of file syscallnr.h.
#define __NR_iEnableDmacHandler (-0x5E) |
Definition at line 116 of file syscallnr.h.
#define __NR_DisableDmacHandler 0x5F |
Definition at line 117 of file syscallnr.h.
#define __NR_iDisableDmacHandler (-0x5F) |
Definition at line 118 of file syscallnr.h.
#define __NR_KSeg0 0x60 |
Definition at line 119 of file syscallnr.h.
#define __NR_EnableCache 0x61 |
Definition at line 120 of file syscallnr.h.
#define __NR_DisableCache 0x62 |
Definition at line 121 of file syscallnr.h.
#define __NR_GetCop0 0x63 |
Definition at line 122 of file syscallnr.h.
#define __NR_FlushCache 0x64 |
Definition at line 123 of file syscallnr.h.
#define __NR_CpuConfig 0x66 |
Definition at line 124 of file syscallnr.h.
#define __NR_iGetCop0 (-0x67) |
Definition at line 125 of file syscallnr.h.
#define __NR_iFlushCache (-0x68) |
Definition at line 126 of file syscallnr.h.
#define __NR_RFU105 0x69 |
Definition at line 127 of file syscallnr.h.
#define __NR_iCpuConfig (-0x6a) |
Definition at line 128 of file syscallnr.h.
#define __NR_SifStopDma 0x6b |
Definition at line 129 of file syscallnr.h.
#define __NR_SetCPUTimerHandler 0x6c |
Definition at line 130 of file syscallnr.h.
#define __NR_SetCPUTimer 0x6d |
Definition at line 131 of file syscallnr.h.
#define __NR_SetOsdConfigParam2 0x6e |
Definition at line 132 of file syscallnr.h.
#define __NR_GetOsdConfigParam2 0x6f |
Definition at line 133 of file syscallnr.h.
#define __NR_GsGetIMR 0x70 |
Definition at line 134 of file syscallnr.h.
#define __NR_iGsGetIMR (-0x70) |
Definition at line 135 of file syscallnr.h.
#define __NR_GsPutIMR 0x71 |
Definition at line 136 of file syscallnr.h.
#define __NR_iGsPutIMR (-0x71) |
Definition at line 137 of file syscallnr.h.
#define __NR_SetPgifHandler 0x72 |
Definition at line 138 of file syscallnr.h.
#define __NR_SetVSyncFlag 0x73 |
Definition at line 139 of file syscallnr.h.
#define __NR_SetSyscall 0x74 |
Definition at line 140 of file syscallnr.h.
#define __NR__print 0x75 |
Definition at line 141 of file syscallnr.h.
#define __NR_SifDmaStat 0x76 |
Definition at line 142 of file syscallnr.h.
#define __NR_iSifDmaStat (-0x76) |
Definition at line 143 of file syscallnr.h.
#define __NR_SifSetDma 0x77 |
Definition at line 144 of file syscallnr.h.
#define __NR_iSifSetDma (-0x77) |
Definition at line 145 of file syscallnr.h.
#define __NR_SifSetDChain 0x78 |
Definition at line 146 of file syscallnr.h.
#define __NR_iSifSetDChain (-0x78) |
Definition at line 147 of file syscallnr.h.
#define __NR_SifSetReg 0x79 |
Definition at line 148 of file syscallnr.h.
#define __NR_SifGetReg 0x7a |
Definition at line 149 of file syscallnr.h.
#define __NR__ExecOSD 0x7b |
Definition at line 150 of file syscallnr.h.
#define __NR_Deci2Call 0x7c |
Definition at line 151 of file syscallnr.h.
#define __NR_PSMode 0x7d |
Definition at line 152 of file syscallnr.h.
#define __NR_MachineType 0x7e |
Definition at line 153 of file syscallnr.h.
#define __NR_GetMemorySize 0x7f |
Definition at line 154 of file syscallnr.h.
#define __NR__GetGsDxDyOffset 0x80 |
Definition at line 155 of file syscallnr.h.
#define __NR__InitTLB 0x82 |
Definition at line 156 of file syscallnr.h.
#define __NR_FindAddress 0x83 |
Definition at line 157 of file syscallnr.h.
#define __NR_SetMemoryMode 0x85 |
Definition at line 158 of file syscallnr.h.
#define __NR_ExecPSX 0x87 |
Definition at line 159 of file syscallnr.h.