Functions | |
void | SVC_Handler (uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3) |
ARM-specific entrypoint for system call handlers. | |
void SVC_Handler | ( | uint32_t | arg0, |
uint32_t | arg1, | ||
uint32_t | arg2, | ||
uint32_t | arg3 | ||
) |
ARM-specific entrypoint for system call handlers.
This routine is common entrypoint for all syscall routines. It decodes the syscall ID requested by userspace application and calls generic method to service the system call. It is callable by executing the SVC instruction. Code of SVC_Handler will retrieve the requested SVC ID and let generic machinery to execute specified system call.
arg0 | syscall argument |
arg1 | syscall argument |
arg2 | syscall argument |
arg3 | syscall argument |