aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/unistd_32.h
blob: d1fe84a5d5742d09738b57401868197f9abda884 (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
24
25
26
27
/*
 * 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_complete_job	__LSC(2)
#define __NR_od_open		__LSC(3)
#define __NR_od_close		__LSC(4)
#define __NR_litmus_lock       	__LSC(5)
#define __NR_litmus_unlock	__LSC(6)
#define __NR_query_job_no	__LSC(7)
#define __NR_wait_for_job_release __LSC(8)
#define __NR_wait_for_ts_release __LSC(9)
#define __NR_release_ts		__LSC(10)
#define __NR_null_call		__LSC(11)
#define __NR_litmus_dgl_lock	__LSC(12)
#define __NR_litmus_dgl_unlock	__LSC(13)

#define __NR_set_aux_tasks		__LSC(14)

#define __NR_sched_trace_event	__LSC(15)

#define NR_litmus_syscalls 16