Rearranged arch-specific directory hierarchy
[akaros.git] / kern / arch / sparc / frontend.h
1 #ifndef ROS_ARCH_FRONTEND_H
2 #define ROS_ARCH_FRONTEND_H
3
4 #include <arch/types.h>
5
6 int32_t frontend_syscall(int32_t syscall_num, uint32_t arg0, uint32_t arg1, uint32_t arg2);
7
8 #define RAMP_SYSCALL_exit               1
9 #define RAMP_SYSCALL_read               3
10 #define RAMP_SYSCALL_write              4
11 #define RAMP_SYSCALL_open               5
12 #define RAMP_SYSCALL_close              6
13 #define RAMP_SYSCALL_unlink             10
14 #define RAMP_SYSCALL_chdir              12
15 #define RAMP_SYSCALL_brk                17
16 #define RAMP_SYSCALL_stat               18
17 #define RAMP_SYSCALL_lseek              19
18 #define RAMP_SYSCALL_fstat              28
19 #define RAMP_SYSCALL_lstat              88
20 #define RAMP_SYSCALL_getch              98
21 #define RAMP_SYSCALL_gettimeofday       156
22
23 #endif /* !ROS_ARCH_FRONTEND_H */