Fixed TLS on i386
[akaros.git] / kern / include / ros / syscall.h
1 #ifndef ROS_INCLUDE_SYSCALL_H
2 #define ROS_INCLUDE_SYSCALL_H
3
4 #include <ros/bits/syscall.h>
5
6 // convenience wrapper for __ros_syscall
7 #define ros_syscall(which,a0,a1,a2,a3,a4) \
8    __ros_syscall(which,(long)(a0),(long)(a1),(long)(a2),(long)(a3),(long)(a4))
9 #include <ros/arch/syscall.h>
10
11 #endif /* !ROS_INCLUDE_SYSCALL_H */