|
Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
|
#include "syscall.h"#include "hal/cpu/core.h"#include "hal/cpu/interrupt.h"#include "hal/cpu/msr.h"#include "hal/cpu/paging.h"#include "init/init.h"#include "libk/serial.h"#include "sys/err_no.h"Go to the source code of this file.
Functions | |
| void | syscall_dispatch (interrupt_stack_frame_t *rsp) |
| void | syscall_entry (void) |
| static const char * | get_syscall_name (int rax) |
| void | syscall_init (void) |
| INIT (Syscall) | |
Variables | |
| const char * | syscall_names [335] |
|
static |
Definition at line 116 of file syscall.c.
References NULL, and syscall_names.
Referenced by syscall_dispatch().
| INIT | ( | Syscall | ) |
Definition at line 113 of file syscall.c.
References syscall_init().
|
extern |
Definition at line 30 of file syscall.c.
References ENOSYS, get_current_core_data(), get_syscall_name(), LOG2_DEBUG, rsp, serial2_printf(), SYSCALL_ARCH_PRCTL, syscall_arch_prctl(), SYSCALL_BRK, syscall_brk(), SYSCALL_CLOSE, SYSCALL_EXIT, SYSCALL_EXIT_GROUP, syscall_exit_group(), SYSCALL_IOCTL, syscall_ioctl(), SYSCALL_MMAP, syscall_mmap(), SYSCALL_MPORTECT, syscall_mprotect(), SYSCALL_OPEN, syscall_open(), SYSCALL_READ, syscall_read(), SYSCALL_SET_TID, syscall_set_tid(), SYSCALL_WRITE, syscall_write(), SYSCALL_WRITEV, syscall_writev(), and THREAD_STATE_TERMINATED.
|
extern |
Referenced by syscall_init().
| void syscall_init | ( | void | ) |
|
extern |
Definition at line 1 of file syscall_def.c.
Referenced by get_syscall_name().