Searched refs:syscallNo (Results 1 – 2 of 2) sorted by relevance
/device/google/contexthub/firmware/os/inc/ |
D | syscall_defs.h | 23 static inline uintptr_t syscallDoGeneric(uint32_t syscallNo, ...) in syscallDoGeneric() argument 28 va_start(vl, syscallNo); in syscallDoGeneric() 30 ret = cpuSyscallDo(syscallNo, &vl); in syscallDoGeneric() 32 ret = cpuSyscallDo(syscallNo, *(uint32_t*)&vl); in syscallDoGeneric() 40 #define syscallDo0P(syscallNo) cpuSyscallDo0P(syscallNo) argument 42 #define syscallDo0P(syscallNo) syscallDoGeneric(syscallNo) argument 46 #define syscallDo1P(syscallNo,p1) cpuSyscallDo1P(syscallNo,p1) argument 48 #define syscallDo1P(syscallNo,p1) syscallDoGeneric(syscallNo,p1) argument 52 #define syscallDo2P(syscallNo,p1,p2) cpuSyscallDo2P(syscallNo,p1,p2) argument 54 #define syscallDo2P(syscallNo,p1,p2) syscallDoGeneric(syscallNo,p1,p2) argument [all …]
|
/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/ |
D | syscallDo.h | 36 __swi uintptr_t cpuSyscallDo(uint32_t syscallNo, uint32_t vl); 40 #define cpuSyscallDo(syscallNo, vaListPtr) \ 42 register uint32_t _r0 asm("r0") = syscallNo; \ 55 #define cpuSyscallDo0P(syscallNo) \ 57 register uint32_t _r0 asm("r0") = syscallNo; \ 68 #define cpuSyscallDo1P(syscallNo, p1) \ 70 register uint32_t _r0 asm("r0") = syscallNo; \ 83 #define cpuSyscallDo2P(syscallNo, p1, p2) \ 85 register uint32_t _r0 asm("r0") = syscallNo; \ 97 #define cpuSyscallDo3P(syscallNo, p1, p2, p3) \ [all …]
|