aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus
diff options
context:
space:
mode:
authorAndrea Bastoni <bastoni@cs.unc.edu>2010-05-28 10:03:24 -0400
committerAndrea Bastoni <bastoni@cs.unc.edu>2010-05-29 17:16:59 -0400
commit2a94c7bf9869a13e32de7a1fe94596de7b4789a8 (patch)
treec8e4e72cd4cd461815a97944ba917adc0c639988 /include/litmus
parent269cf3c49cef2b23605e98ad4a8133357bebaac0 (diff)
[ported from 2008.3] Add LITRMUS^RT syscalls to x86_32
Diffstat (limited to 'include/litmus')
-rw-r--r--include/litmus/unistd.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/litmus/unistd.h b/include/litmus/unistd.h
new file mode 100644
index 000000000000..6fec5364adaf
--- /dev/null
+++ b/include/litmus/unistd.h
@@ -0,0 +1,23 @@
1/*
2 * included from arch/x86/include/asm/unistd_32.h
3 *
4 * LITMUS^RT syscalls with "relative" numbers
5 */
6#define __LSC(x) (__NR_LITMUS + x)
7
8#define __NR_set_rt_task_param __LSC(0)
9#define __NR_get_rt_task_param __LSC(1)
10#define __NR_sleep_next_period __LSC(2)
11#define __NR_od_open __LSC(3)
12#define __NR_od_close __LSC(4)
13#define __NR_fmlp_down __LSC(5)
14#define __NR_fmlp_up __LSC(6)
15#define __NR_srp_down __LSC(7)
16#define __NR_srp_up __LSC(8)
17#define __NR_query_job_no __LSC(9)
18#define __NR_wait_for_job_release __LSC(10)
19#define __NR_wait_for_ts_release __LSC(11)
20#define __NR_release_ts __LSC(12)
21#define __NR_null_call __LSC(13)
22
23#define NR_litmus_syscalls 14