aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/unistd.h
blob: 6fec5364adaf8eb1610d4b614ef6fc3a66e8ded8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * included from arch/x86/include/asm/unistd_32.h
 *
 * LITMUS^RT syscalls with "relative" numbers
 */
#define __LSC(x) (__NR_LITMUS + x)

#define __NR_set_rt_task_param	__LSC(0)
#define __NR_get_rt_task_param	__LSC(1)
#define __NR_sleep_next_period  __LSC(2)
#define __NR_od_open		__LSC(3)
#define __NR_od_close		__LSC(4)
#define __NR_fmlp_down		__LSC(5)
#define __NR_fmlp_up		__LSC(6)
#define __NR_srp_down		__LSC(7)
#define __NR_srp_up		__LSC(8)
#define __NR_query_job_no	__LSC(9)
#define __NR_wait_for_job_release __LSC(10)
#define __NR_wait_for_ts_release __LSC(11)
#define __NR_release_ts		__LSC(12)
#define __NR_null_call		__LSC(13)

#define NR_litmus_syscalls 14