From 6f2229385e1645aa149b0c1f8df7e2702c4d26f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 3 Mar 2004 01:07:21 +0000 Subject: [PATCH] Renamed thread/team syscalls to new scheme. read_data(), has_data(), and receive_data() are no longer exported by this file, but their _kern_*() equivalents are now. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6877 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/libroot/os/syscalls.S | 45 ++++++++++++++++---------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/src/kernel/libroot/os/syscalls.S b/src/kernel/libroot/os/syscalls.S index 2298026f9e..04b0bdfa49 100644 --- a/src/kernel/libroot/os/syscalls.S +++ b/src/kernel/libroot/os/syscalls.S @@ -93,25 +93,26 @@ SYSCALL4(sys_get_next_sem_info, 59) SYSCALL2(sys_set_sem_owner, 60) /* thread/team calls */ -SYSCALL0(sys_get_current_thread_id, 24) -SYSCALL5(sys_spawn_thread, 35) -SYSCALL1(sys_kill_thread, 36) -SYSCALL1(sys_suspend_thread, 37) -SYSCALL1(sys_resume_thread, 38) -SYSCALL4(sys_snooze_etc, 17) -SYSCALL4(send_data, 94) -SYSCALL3(receive_data, 95) -SYSCALL1(has_data, 96) -SYSCALL1(sys_exit, 25) -SYSCALL5(sys_create_team, 26) -SYSCALL2(sys_wait_on_thread, 27) -SYSCALL2(sys_wait_on_team, 28) -SYSCALL2(sys_get_thread_info, 88) -SYSCALL3(sys_get_next_thread_info, 89) -SYSCALL2(sys_get_team_info, 90) -SYSCALL2(sys_get_next_team_info, 91) -SYSCALL1(sys_kill_team, 39) -SYSCALL0(sys_get_current_team_id, 40) +SYSCALL1(_kern_find_thread, 24) +SYSCALL5(_kern_spawn_thread, 35) +SYSCALL1(_kern_kill_thread, 36) +SYSCALL1(_kern_suspend_thread, 37) +SYSCALL1(_kern_resume_thread, 38) +SYSCALL4(_kern_snooze_etc, 17) +SYSCALL4(_kern_send_data, 94) +SYSCALL3(_kern_receive_data, 95) +SYSCALL1(_kern_has_data, 96) +SYSCALL2(_kern_wait_for_thread, 27) +SYSCALL2(_kern_wait_for_team, 28) +SYSCALL2(_kern_get_thread_info, 88) +SYSCALL3(_kern_get_next_thread_info, 89) +SYSCALL2(_kern_set_thread_priority, 121) +SYSCALL1(_kern_exit, 25) +SYSCALL5(_kern_create_team, 26) +SYSCALL2(_kern_get_team_info, 90) +SYSCALL2(_kern_get_next_team_info, 91) +SYSCALL1(_kern_kill_team, 39) +SYSCALL0(_kern_get_current_team, 40) /* image calls */ SYSCALL2(sys_register_image, 114) @@ -156,10 +157,10 @@ SYSCALL4(sys_port_write, 55) SYSCALL7(sys_port_write_etc, 56) /* misc calls */ -SYSCALL0(sys_system_time, 16) +SYSCALL0(_kern_system_time, 16) //SYSCALL2(sys_team_get_table, 63) -SYSCALL2(sys_getrlimit, 64) -SYSCALL2(sys_setrlimit, 65) +SYSCALL2(_kern_getrlimit, 64) +SYSCALL2(_kern_setrlimit, 65) SYSCALL6(sys_sysctl, 71) //SYSCALL3(sys_socket, 72) SYSCALL3(sys_setenv, 79)