/third_party/musl/arch/arm/ |
D | syscall_arch.h | 11 #define __asm_syscall(...) do { \ macro 20 #define __asm_syscall(...) do { \ macro 41 __asm_syscall(R7_OPERAND); in __syscall0() 48 __asm_syscall(R7_OPERAND, "0"(r0)); in __syscall1() 56 __asm_syscall(R7_OPERAND, "0"(r0), "r"(r1)); in __syscall2() 65 __asm_syscall(R7_OPERAND, "0"(r0), "r"(r1), "r"(r2)); in __syscall3() 75 __asm_syscall(R7_OPERAND, "0"(r0), "r"(r1), "r"(r2), "r"(r3)); in __syscall4() 86 __asm_syscall(R7_OPERAND, "0"(r0), "r"(r1), "r"(r2), "r"(r3), "r"(r4)); in __syscall5() 98 __asm_syscall(R7_OPERAND, "0"(r0), "r"(r1), "r"(r2), "r"(r3), "r"(r4), "r"(r5)); in __syscall6()
|
/third_party/musl/porting/liteos_a/user/arch/arm/ |
D | syscall_arch.h | 11 #define __asm_syscall(...) do { \ macro 20 #define __asm_syscall(...) do { \ macro 41 __asm_syscall(R7_OPERAND); in __syscall0() 48 __asm_syscall(R7_OPERAND, "0"(r0)); in __syscall1() 56 __asm_syscall(R7_OPERAND, "0"(r0), "r"(r1)); in __syscall2() 65 __asm_syscall(R7_OPERAND, "0"(r0), "r"(r1), "r"(r2)); in __syscall3() 75 __asm_syscall(R7_OPERAND, "0"(r0), "r"(r1), "r"(r2), "r"(r3)); in __syscall4() 86 __asm_syscall(R7_OPERAND, "0"(r0), "r"(r1), "r"(r2), "r"(r3), "r"(r4)); in __syscall5() 98 __asm_syscall(R7_OPERAND, "0"(r0), "r"(r1), "r"(r2), "r"(r3), "r"(r4), "r"(r5)); in __syscall6()
|
/third_party/musl/porting/liteos_m/user/arch/arm/ |
D | syscall_arch.h | 6 #define __asm_syscall(...) do { \ macro 18 __asm_syscall(R7_OPERAND); in __syscall0() 25 __asm_syscall(R7_OPERAND, "0"(r0)); in __syscall1() 33 __asm_syscall(R7_OPERAND, "0"(r0), "r"(r1)); in __syscall2() 42 __asm_syscall(R7_OPERAND, "0"(r0), "r"(r1), "r"(r2)); in __syscall3() 52 __asm_syscall(R7_OPERAND, "0"(r0), "r"(r1), "r"(r2), "r"(r3)); in __syscall4() 63 __asm_syscall(R7_OPERAND, "0"(r0), "r"(r1), "r"(r2), "r"(r3), "r"(r4)); in __syscall5() 75 __asm_syscall(R7_OPERAND, "0"(r0), "r"(r1), "r"(r2), "r"(r3), "r"(r4), "r"(r5)); in __syscall6()
|
/third_party/musl/porting/linux/user/arch/aarch64/ |
D | syscall_arch.h | 19 #define __asm_syscall(...) do { \ macro 29 __asm_syscall("r"(x8)); in __syscall0() 36 __asm_syscall("r"(x8), "0"(x0)); in __syscall1() 44 __asm_syscall("r"(x8), "0"(x0), "r"(x1)); in __syscall2() 53 __asm_syscall("r"(x8), "0"(x0), "r"(x1), "r"(x2)); in __syscall3() 63 __asm_syscall("r"(x8), "0"(x0), "r"(x1), "r"(x2), "r"(x3)); in __syscall4() 74 __asm_syscall("r"(x8), "0"(x0), "r"(x1), "r"(x2), "r"(x3), "r"(x4)); in __syscall5() 86 __asm_syscall("r"(x8), "0"(x0), "r"(x1), "r"(x2), "r"(x3), "r"(x4), "r"(x5)); in __syscall6()
|
/third_party/musl/arch/aarch64/ |
D | syscall_arch.h | 4 #define __asm_syscall(...) do { \ macro 14 __asm_syscall("r"(x8)); in __syscall0() 21 __asm_syscall("r"(x8), "0"(x0)); in __syscall1() 29 __asm_syscall("r"(x8), "0"(x0), "r"(x1)); in __syscall2() 38 __asm_syscall("r"(x8), "0"(x0), "r"(x1), "r"(x2)); in __syscall3() 48 __asm_syscall("r"(x8), "0"(x0), "r"(x1), "r"(x2), "r"(x3)); in __syscall4() 59 __asm_syscall("r"(x8), "0"(x0), "r"(x1), "r"(x2), "r"(x3), "r"(x4)); in __syscall5() 71 __asm_syscall("r"(x8), "0"(x0), "r"(x1), "r"(x2), "r"(x3), "r"(x4), "r"(x5)); in __syscall6()
|
/third_party/musl/arch/riscv64/ |
D | syscall_arch.h | 4 #define __asm_syscall(...) \ macro 13 __asm_syscall("r"(a7)) in __syscall0() 20 __asm_syscall("r"(a7), "0"(a0)) in __syscall1() 28 __asm_syscall("r"(a7), "0"(a0), "r"(a1)) in __syscall2() 37 __asm_syscall("r"(a7), "0"(a0), "r"(a1), "r"(a2)) in __syscall3() 47 __asm_syscall("r"(a7), "0"(a0), "r"(a1), "r"(a2), "r"(a3)) in __syscall4() 58 __asm_syscall("r"(a7), "0"(a0), "r"(a1), "r"(a2), "r"(a3), "r"(a4)) in __syscall5() 70 __asm_syscall("r"(a7), "0"(a0), "r"(a1), "r"(a2), "r"(a3), "r"(a4), "r"(a5)) in __syscall6()
|
/third_party/musl/arch/s390x/ |
D | syscall_arch.h | 4 #define __asm_syscall(ret, ...) do { \ macro 14 __asm_syscall("=r"(r2), "r"(r1)); in __syscall0() 21 __asm_syscall("+r"(r2), "r"(r1)); in __syscall1() 29 __asm_syscall("+r"(r2), "r"(r1), "r"(r3)); in __syscall2() 38 __asm_syscall("+r"(r2), "r"(r1), "r"(r3), "r"(r4)); in __syscall3() 48 __asm_syscall("+r"(r2), "r"(r1), "r"(r3), "r"(r4), "r"(r5)); in __syscall4() 59 __asm_syscall("+r"(r2), "r"(r1), "r"(r3), "r"(r4), "r"(r5), "r"(r6)); in __syscall5() 73 __asm_syscall("+r"(r2), "r"(r1), "r"(r3), "r"(r4), "r"(r5), "r"(r6), "r"(r7)); in __syscall6()
|
/third_party/musl/arch/sh/ |
D | syscall_arch.h | 10 #define __asm_syscall(trapno, ...) do { \ macro 26 __asm_syscall(16, "r"(r3)); in __syscall0() 34 __asm_syscall(17, "r"(r3), "r"(r4)); in __syscall1() 43 __asm_syscall(18, "r"(r3), "r"(r4), "r"(r5)); in __syscall2() 53 __asm_syscall(19, "r"(r3), "r"(r4), "r"(r5), "r"(r6)); in __syscall3() 64 __asm_syscall(20, "r"(r3), "r"(r4), "r"(r5), "r"(r6), "r"(r7)); in __syscall4() 75 __asm_syscall(21, "r"(r3), "r"(r4), "r"(r5), "r"(r6), "r"(r7), "0"(r0)); in __syscall5() 87 __asm_syscall(22, "r"(r3), "r"(r4), "r"(r5), "r"(r6), "r"(r7), "0"(r0), "r"(r1)); in __syscall6()
|