MOS Source Code
|
Go to the source code of this file.
Macros | |
#define | do_syscall(...) |
Enumerations | |
enum | { RISCV64_SYSCALL_SET_TP = 0 } |
Functions | |
should_inline reg_t | platform_syscall0 (long n) |
should_inline reg_t | platform_syscall1 (long n, long a) |
should_inline reg_t | platform_syscall2 (long n, long a, long b) |
should_inline reg_t | platform_syscall3 (long n, long a, long b, long c) |
should_inline reg_t | platform_syscall4 (long n, long a, long b, long c, long d) |
should_inline reg_t | platform_syscall5 (long n, long a, long b, long c, long d, long e) |
should_inline reg_t | platform_syscall6 (long n, long a, long b, long c, long d, long e, long f) |
#define do_syscall | ( | ... | ) |
Definition at line 13 of file platform_syscall.h.
Referenced by platform_syscall0(), platform_syscall1(), platform_syscall2(), platform_syscall3(), platform_syscall4(), platform_syscall5(), and platform_syscall6().
anonymous enum |
Enumerator | |
---|---|
RISCV64_SYSCALL_SET_TP |
Definition at line 8 of file platform_syscall.h.
should_inline reg_t platform_syscall0 | ( | long | n | ) |
Definition at line 15 of file platform_syscall.h.
Referenced by __attribute__(), syscall_fork(), syscall_get_parent_pid(), syscall_get_pid(), syscall_get_tid(), and syscall_yield_cpu().
should_inline reg_t platform_syscall1 | ( | long | n, |
long | a ) |
Definition at line 23 of file platform_syscall.h.
Referenced by __attribute__(), syscall_clock_gettimeofday(), syscall_clock_msleep(), syscall_io_close(), syscall_io_dup(), syscall_io_tell(), syscall_ipc_accept(), syscall_vfs_mkdir(), syscall_vfs_unmount(), and syscall_wait_for_thread().
should_inline reg_t platform_syscall2 | ( | long | n, |
long | a, | ||
long | b ) |
Definition at line 31 of file platform_syscall.h.
Referenced by syscall_dmabuf_free(), syscall_futex_wait(), syscall_futex_wake(), syscall_io_dup2(), syscall_ipc_connect(), syscall_ipc_create(), syscall_memfd_create(), syscall_munmap(), syscall_poweroff(), syscall_signal_process(), syscall_signal_register(), syscall_signal_thread(), syscall_thread_setname(), syscall_vfs_chdirat(), syscall_vfs_fsync(), syscall_vfs_getcwd(), syscall_vfs_symlink(), and syscall_vfs_unlinkat().
should_inline reg_t platform_syscall3 | ( | long | n, |
long | a, | ||
long | b, | ||
long | c ) |
Definition at line 40 of file platform_syscall.h.
Referenced by syscall_dmabuf_alloc(), syscall_dmabuf_share(), syscall_dmabuf_unshare(), syscall_fd_manipulate(), syscall_io_poll(), syscall_io_read(), syscall_io_readv(), syscall_io_seek(), syscall_io_write(), syscall_pipe(), syscall_signal_mask_op(), syscall_spawn(), syscall_thread_getname(), syscall_vfs_list_dir(), syscall_vfs_openat(), syscall_vm_protect(), and syscall_wait_for_process().
should_inline reg_t platform_syscall4 | ( | long | n, |
long | a, | ||
long | b, | ||
long | c, | ||
long | d ) |
Definition at line 50 of file platform_syscall.h.
Referenced by syscall_io_pread(), syscall_mmap_anonymous(), syscall_vfs_fchmodat(), syscall_vfs_fstatat(), syscall_vfs_mount(), and syscall_vfs_readlinkat().
should_inline reg_t platform_syscall5 | ( | long | n, |
long | a, | ||
long | b, | ||
long | c, | ||
long | d, | ||
long | e ) |
Definition at line 61 of file platform_syscall.h.
Referenced by syscall_arch_syscall(), syscall_create_thread(), and syscall_execveat().
should_inline reg_t platform_syscall6 | ( | long | n, |
long | a, | ||
long | b, | ||
long | c, | ||
long | d, | ||
long | e, | ||
long | f ) |
Definition at line 73 of file platform_syscall.h.
Referenced by syscall_io_pselect(), and syscall_mmap_file().