SWI Numbers
All communication between user level task and kernel is done through ARM instruction SWI - that's "official" way for going into kernel mode.
Below you will find all SWI numbers and function names in which they are called:
00 GetPortSWI 01 PortSendSWI 02 PortReceiveSWI 03 EnterAtomicSWI 04 ExitAtomicSWI 05 GenericSWI 06 GenerateMessageIRQ 07 PurgeMMUTBLEntry 08 FlushMMU 09 FlushCache 0a GetCPUVersion 0b SemaphoreOpGlue 0c SetDomainRegister 0d SMemSetBufferSWI 0e SMemGetSizeSWI 0f SMemCopyToSharedSWI 10 SMemCopyFromSharedSWI 11 SMemMsgSetTimerParmsSWI 12 SMemMsgSetMsgAvailPortSWI 13 SMemMsgGetSenderTaskIdSWI 14 SMemMsgSetUserRefConSWI 15 SMemMsgGetUserRefConSWI 16 SMemMsgCheckForDoneSWI 17 SMemMsgMsgDoneSWI 18 TurnOffCache 19 TurnOnCache 1b MonitorDispatchSWI 1c MonitorExitSWI 1d MonitorThrowSWI 1e EnterFIQAtomicSWI 1f ExitFIQAtomicSWI 20 MonitorFlushSWI 21 PortResetFilterSWI 22 DoSchedulerSWI

