How to implement system call in ARM64?
I am working with arm64 assembly coding and I want to implement system calls using svc instruction . I can't find any working arm64 system call implementation online.Also, I can't find the system call list for arm64. Also explain the implementation . You can pass six arguments in x0 to x5 , return value is saved in x0 . To give an assembler snippet, this is write syscall from Android Bionic's libc implementation . write 's three arguments would already be in x0-x2 . Syscall number is passed in x8 . /* Generated by gensyscalls.py. Do not edit. */ #include <private/bionic_asm.h> .hidden __set