diff options
author | dzwdz | 2021-09-05 18:01:41 +0200 |
---|---|---|
committer | dzwdz | 2021-09-05 18:01:41 +0200 |
commit | d6c1dceba2511fa2edf839942b237d3a27bb9535 (patch) | |
tree | dc30096397bc249e0b0ed68d92d44206762240ee /src/shared | |
parent | 9b720cbc827956643a100b29e4d36ca77b1ea5b0 (diff) |
remove the fd_ / fs_ prefixes from syscall names
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/syscalls.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/shared/syscalls.h b/src/shared/syscalls.h index d65723d..7a1acaf 100644 --- a/src/shared/syscalls.h +++ b/src/shared/syscalls.h @@ -11,12 +11,12 @@ enum { _SYSCALL_AWAIT, _SYSCALL_FORK, - _SYSCALL_FS_OPEN, - _SYSCALL_FD_MOUNT, + _SYSCALL_OPEN, + _SYSCALL_MOUNT, - _SYSCALL_FD_READ, - _SYSCALL_FD_WRITE, - _SYSCALL_FD_CLOSE, + _SYSCALL_READ, + _SYSCALL_WRITE, + _SYSCALL_CLOSE, }; /** Kills the current process. @@ -35,9 +35,9 @@ int _syscall_await(user_ptr buf, int len); */ int _syscall_fork(void); -handle_t _syscall_fs_open(const user_ptr path, int len); +handle_t _syscall_open(const user_ptr path, int len); -int _syscall_fd_mount(handle_t, const user_ptr path, int len); -int _syscall_fd_read(handle_t, user_ptr buf, int len); -int _syscall_fd_write(handle_t, user_ptr buf, int len); -int _syscall_fd_close(handle_t); +int _syscall_mount(handle_t, const user_ptr path, int len); +int _syscall_read(handle_t, user_ptr buf, int len); +int _syscall_write(handle_t, user_ptr buf, int len); +int _syscall_close(handle_t); |