aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/unistd_32.h
blob: 86bbbb8d33ea96968375b53194806a50edab5022 (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
28
29
/*
 * 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_get_current_budget __LSC(12)
#define __NR_reservation_create	__LSC(13)
#define __NR_reservation_destroy	__LSC(14)
#define __NR_set_mc2_task_param	__LSC(15)
#define __NR_set_page_color		__LSC(16)
#define __NR_test_call		__LSC(17)
#define __NR_run_test		__LSC(18)
#define __NR_lock_buffer	__LSC(19)

#define NR_litmus_syscalls	20