From d6c1dceba2511fa2edf839942b237d3a27bb9535 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 5 Sep 2021 18:01:41 +0200 Subject: remove the fd_ / fs_ prefixes from syscall names --- src/shared/syscalls.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/shared') 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); -- cgit v1.2.3