/frameworks/libs/binary_translation/kernel_api/riscv64/ |
D | gen_syscall_emulation_riscv64_to_x86_64-inl.h | 7 long arg_3, in RunGuestSyscallImpl() argument 13 return syscall(43, arg_1, arg_2, arg_3); in RunGuestSyscallImpl() 15 return syscall(288, arg_1, arg_2, arg_3, arg_4); in RunGuestSyscallImpl() 19 return syscall(248, arg_1, arg_2, arg_3, arg_4, arg_5); in RunGuestSyscallImpl() 23 return syscall(49, arg_1, arg_2, arg_3); in RunGuestSyscallImpl() 25 return syscall(321, arg_1, arg_2, arg_3); in RunGuestSyscallImpl() 43 return syscall(230, arg_1, arg_2, arg_3, arg_4); in RunGuestSyscallImpl() 48 return RunGuestSyscall___NR_clone(arg_1, arg_2, arg_3, arg_4, arg_5); in RunGuestSyscallImpl() 56 return syscall(436, arg_1, arg_2, arg_3); in RunGuestSyscallImpl() 58 return syscall(42, arg_1, arg_2, arg_3); in RunGuestSyscallImpl() [all …]
|
D | syscall_emulation.cc | 83 long RunGuestSyscall___NR_execveat(long arg_1, long arg_2, long arg_3, long arg_4, long arg_5) { in RunGuestSyscall___NR_execveat() argument 84 UNUSED(arg_1, arg_2, arg_3, arg_4, arg_5); in RunGuestSyscall___NR_execveat() 90 long RunGuestSyscall___NR_fadvise64(long arg_1, long arg_2, long arg_3, long arg_4) { in RunGuestSyscall___NR_fadvise64() argument 92 return syscall(__NR_fadvise64, arg_1, arg_2, arg_3, arg_4); in RunGuestSyscall___NR_fadvise64() 95 long RunGuestSyscall___NR_ioctl(long arg_1, long arg_2, long arg_3) { in RunGuestSyscall___NR_ioctl() argument 98 return syscall(__NR_ioctl, arg_1, arg_2, arg_3); in RunGuestSyscall___NR_ioctl() 101 long RunGuestSyscall___NR_newfstatat(long arg_1, long arg_2, long arg_3, long arg_4) { in RunGuestSyscall___NR_newfstatat() argument 108 ConvertHostStatToGuestArch(host_stat, bit_cast<GuestAddr>(arg_3)); in RunGuestSyscall___NR_newfstatat() 115 long arg_3, in RunGuestSyscall___NR_riscv_hwprobe() argument 118 UNUSED(arg_3, arg_4); // cpu_count, cpus_in in RunGuestSyscall___NR_riscv_hwprobe() [all …]
|
D | epoll_emulation.cc | 60 long RunGuestSyscall___NR_epoll_ctl(long arg_1, long arg_2, long arg_3, long arg_4) { in RunGuestSyscall___NR_epoll_ctl() argument 62 return syscall(__NR_epoll_ctl, arg_1, arg_2, arg_3, nullptr); in RunGuestSyscall___NR_epoll_ctl() 69 return syscall(__NR_epoll_ctl, arg_1, arg_2, arg_3, &host_event); in RunGuestSyscall___NR_epoll_ctl() 74 long arg_3, in RunGuestSyscall___NR_epoll_pwait() argument 78 long res = syscall(__NR_epoll_pwait, arg_1, arg_2, arg_3, arg_4, arg_5, arg_6); in RunGuestSyscall___NR_epoll_pwait() 80 ConvertHostEPollEventArrayToGuestInPlace(bit_cast<Guest_epoll_event*>(arg_2), arg_3); in RunGuestSyscall___NR_epoll_pwait()
|
D | epoll_emulation.h | 22 long RunGuestSyscall___NR_epoll_ctl(long arg_1, long arg_2, long arg_3, long arg_4); 26 long arg_3, 33 long arg_3,
|
/frameworks/libs/binary_translation/kernel_api/include/berberis/kernel_api/ |
D | syscall_emulation_common.h | 54 inline long RunGuestSyscall___NR_execve(long arg_1, long arg_2, long arg_3) { in RunGuestSyscall___NR_execve() argument 57 bit_cast<char* const*>(arg_3))); // envp in RunGuestSyscall___NR_execve() 60 inline long RunGuestSyscall___NR_faccessat(long arg_1, long arg_2, long arg_3) { in RunGuestSyscall___NR_faccessat() argument 63 return syscall(__NR_faccessat, arg_1, arg_2, arg_3); in RunGuestSyscall___NR_faccessat() 97 inline long RunGuestSyscall___NR_fcntl(long arg_1, long arg_2, long arg_3) { in RunGuestSyscall___NR_fcntl() argument 98 return GuestFcntl(arg_1, arg_2, arg_3); in RunGuestSyscall___NR_fcntl() 101 inline long RunGuestSyscall___NR_openat(long arg_1, long arg_2, long arg_3, long arg_4) { in RunGuestSyscall___NR_openat() argument 104 static_cast<int>(arg_3), // flags in RunGuestSyscall___NR_openat() 108 inline long RunGuestSyscall___NR_prctl(long arg_1, long arg_2, long arg_3, long arg_4, long arg_5) { in RunGuestSyscall___NR_prctl() argument 109 return PrctlForGuest(arg_1, arg_2, arg_3, arg_4, arg_5); in RunGuestSyscall___NR_prctl() [all …]
|
D | runtime_bridge.h | 27 long RunGuestSyscall___NR_timer_create(long arg_1, long arg_2, long arg_3); 29 long RunGuestSyscall___NR_clone(long arg_1, long arg_2, long arg_3, long arg_4, long arg_5); 32 long arg_3, 38 long arg_3, 43 long RunGuestSyscall___NR_mprotect(long arg_1, long arg_2, long arg_3); 44 long RunGuestSyscall___NR_mremap(long arg_1, long arg_2, long arg_3, long arg_4, long arg_5);
|
D | fcntl_emulation.h | 24 int GuestFcntl(int fd, int cmd, long arg_3); 25 std::tuple<bool, int> GuestFcntlArch(int fd, int cmd, long arg_3);
|
/frameworks/libs/binary_translation/kernel_api/ |
D | runtime_bridge.cc | 67 long RunGuestSyscall___NR_timer_create(long arg_1, long arg_2, long arg_3) { in RunGuestSyscall___NR_timer_create() argument 72 arg_3); in RunGuestSyscall___NR_timer_create() 80 long RunGuestSyscall___NR_clone(long arg_1, long arg_2, long arg_3, long arg_4, long arg_5) { in RunGuestSyscall___NR_clone() argument 83 return CloneGuestThread(GetCurrentGuestThread(), arg_1, arg_2, arg_3, arg_4, arg_5); in RunGuestSyscall___NR_clone() 88 long arg_3, in RunGuestSyscall___NR_mmap() argument 94 static_cast<int>(arg_3), // prot in RunGuestSyscall___NR_mmap() 102 long arg_3, in RunGuestSyscall___NR_mmap2() argument 109 static_cast<int>(arg_3), // prot in RunGuestSyscall___NR_mmap2() 120 long RunGuestSyscall___NR_mprotect(long arg_1, long arg_2, long arg_3) { in RunGuestSyscall___NR_mprotect() argument 123 static_cast<int>(arg_3))); // prot in RunGuestSyscall___NR_mprotect() [all …]
|
D | fcntl_emulation.cc | 112 int GuestFcntl(int fd, int cmd, long arg_3) { in GuestFcntl() argument 113 auto [processed, result] = GuestFcntlArch(fd, cmd, arg_3); in GuestFcntl() 152 Guest_flock* guest_flock = reinterpret_cast<Guest_flock*>(arg_3); in GuestFcntl() 167 return fcntl(fd, cmd, arg_3); in GuestFcntl() 170 return fcntl(fd, cmd, ToHostOpenFlags(arg_3)); in GuestFcntl()
|
/frameworks/libs/binary_translation/jni/ |
D | jni_trampolines.cc | 206 jvalue* arg_3 = &arg_vector[0]; in DoTrampoline_JNIEnv_CallStaticVoidMethodV() local 209 JNIEnv_CallStaticVoidMethodV_ForGuest(arg_0, arg_1, arg_2, arg_3); in DoTrampoline_JNIEnv_CallStaticVoidMethodV() 211 (arg_0->functions)->CallStaticVoidMethodA(arg_0, arg_1, arg_2, arg_3); in DoTrampoline_JNIEnv_CallStaticVoidMethodV()
|