summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authordzwdz2021-09-05 18:01:41 +0200
committerdzwdz2021-09-05 18:01:41 +0200
commitd6c1dceba2511fa2edf839942b237d3a27bb9535 (patch)
treedc30096397bc249e0b0ed68d92d44206762240ee /src/shared
parent9b720cbc827956643a100b29e4d36ca77b1ea5b0 (diff)
remove the fd_ / fs_ prefixes from syscall names
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/syscalls.h20
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);