summaryrefslogtreecommitdiff
path: root/kernel/include/arch/x86_64/syscalls/syscalls.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/arch/x86_64/syscalls/syscalls.hpp')
-rw-r--r--kernel/include/arch/x86_64/syscalls/syscalls.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/include/arch/x86_64/syscalls/syscalls.hpp b/kernel/include/arch/x86_64/syscalls/syscalls.hpp
index 5788bab..03821ed 100644
--- a/kernel/include/arch/x86_64/syscalls/syscalls.hpp
+++ b/kernel/include/arch/x86_64/syscalls/syscalls.hpp
@@ -218,6 +218,8 @@ syscall_ret_t sys_link(char* old_path, char* new_path);
syscall_ret_t sys_mkdirat(int dirfd, char* path, int mode);
syscall_ret_t sys_chmod(char* path, int mode);
+syscall_ret_t sys_ttyname(int fd, char *buf, size_t size);
+
/* Process */
syscall_ret_t sys_mmap(std::uint64_t hint, std::uint64_t size, int fd0, int_frame_t* ctx);
syscall_ret_t sys_free(void *pointer, size_t size);
@@ -255,6 +257,7 @@ syscall_ret_t sys_mkfifoat(int dirfd, const char *path, int mode);
syscall_ret_t sys_enabledebugmode();
syscall_ret_t sys_clone(std::uint64_t stack, std::uint64_t rip, int c, int_frame_t* ctx);
+syscall_ret_t sys_breakpoint(int num);
/* Futex */
syscall_ret_t sys_futex_wait(int* pointer, int excepted);