MOS Source Code
|
#include <mos/filesystem/fs_types.h>
#include <mos/io/io_types.h>
#include <mos/mos_global.h>
#include <mos/tasks/signal_types.h>
#include <mos/types.h>
#include <sys/poll.h>
#include <sys/select.h>
#include <sys/uio.h>
Go to the source code of this file.
Macros | |
#define | define_syscall(name) |
#define define_syscall | ( | name | ) |
fd_t impl_syscall_vfs_openat | ( | fd_t | dirfd, |
const char * | file_path, | ||
open_flags | flags ) |
Referenced by dispatch_syscall().
long impl_syscall_vfs_fstatat | ( | fd_t | dirfd, |
const char * | file_path, | ||
file_stat_t * | stat_buf, | ||
fstatat_flags | flags ) |
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
should_inline __attribute__ | ( | (__noreturn__) | ) |
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
pid_t impl_syscall_spawn | ( | const char * | file_path, |
const char *const * | argv, | ||
const char *const * | envp ) |
Referenced by dispatch_syscall().
tid_t impl_syscall_create_thread | ( | const char * | name, |
thread_entry_t | entry, | ||
void * | arg, | ||
size_t | stack_size, | ||
void * | stack ) |
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
bool impl_syscall_futex_wait | ( | futex_word_t * | futex, |
u32 | val ) |
Referenced by dispatch_syscall().
bool impl_syscall_futex_wake | ( | futex_word_t * | futex, |
size_t | count ) |
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
long impl_syscall_vfs_mount | ( | const char * | device, |
const char * | mount_point, | ||
const char * | fs_type, | ||
const char * | options ) |
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
long impl_syscall_vfs_unlinkat | ( | fd_t | dirfd, |
const char * | path ) |
Referenced by dispatch_syscall().
long impl_syscall_vfs_symlink | ( | const char * | link_path, |
const char * | target ) |
Referenced by dispatch_syscall().
long impl_syscall_vfs_mkdir | ( | const char * | path | ) |
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
void * impl_syscall_mmap_anonymous | ( | ptr_t | hint_addr, |
size_t | size, | ||
mem_perm_t | perm, | ||
mmap_flags_t | flags ) |
Referenced by dispatch_syscall().
void * impl_syscall_mmap_file | ( | ptr_t | hint_addr, |
size_t | size, | ||
mem_perm_t | perm, | ||
mmap_flags_t | flags, | ||
fd_t | fd, | ||
off_t | offset ) |
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
long impl_syscall_vfs_chdirat | ( | fd_t | dirfd, |
const char * | path ) |
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
off_t impl_syscall_io_seek | ( | fd_t | fd, |
off_t | offset, | ||
io_seek_whence_t | whence ) |
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
bool impl_syscall_signal_register | ( | signal_t | signum, |
const sigaction_t * | action ) |
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
bool impl_syscall_vm_protect | ( | void * | addr, |
size_t | size, | ||
mem_perm_t | perm ) |
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
int impl_syscall_io_pselect | ( | int | nfds, |
fd_set * | readfds, | ||
fd_set * | writefds, | ||
fd_set * | exceptfds, | ||
const struct timespec * | timeout, | ||
const sigset_t * | sigmask ) |
Referenced by dispatch_syscall().
long impl_syscall_execveat | ( | fd_t | dirfd, |
const char * | file_path, | ||
const char *const * | argv, | ||
const char *const * | envp, | ||
u32 | flags ) |
Referenced by dispatch_syscall().
long impl_syscall_clock_msleep | ( | u64 | ms | ) |
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
long impl_syscall_pipe | ( | fd_t * | out_read_fd, |
fd_t * | out_write_fd, | ||
fd_flags_t | flags ) |
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
long impl_syscall_vfs_unmount | ( | const char * | mount_point | ) |
Referenced by dispatch_syscall().
long impl_syscall_clock_gettimeofday | ( | struct timespec * | tv | ) |
Referenced by dispatch_syscall().
long impl_syscall_thread_setname | ( | tid_t | tid, |
const char * | name ) |
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().
long impl_syscall_signal_mask_op | ( | int | how, |
const sigset_t * | set, | ||
sigset_t * | oldset ) |
Referenced by dispatch_syscall().
Referenced by dispatch_syscall().