Implemented a generic syscall mechanism.

Minor cleanup in syscalls.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10451 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-12-14 15:46:53 +00:00
parent a36b16ba28
commit c3c3d22f64
3 changed files with 79 additions and 24 deletions
+13 -2
View File
@@ -5,8 +5,19 @@
#ifndef _KERNEL_SYSCALLS_H
#define _KERNEL_SYSCALLS_H
#include <sys/types.h>
int syscall_dispatcher(unsigned long call_num, void *arg_buffer, uint64 *call_ret);
#include <SupportDefs.h>
#ifdef __cplusplus
extern "C" {
#endif
int32 syscall_dispatcher(uint32 function, void *argBuffer, uint64 *_returnValue);
status_t generic_syscall_init(void);
#ifdef __cplusplus
}
#endif
#endif /* _KERNEL_SYSCALLS_H */