aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/unistd_32.h
diff options
context:
space:
mode:
authorAndrea Bastoni <bastoni@cs.unc.edu>2009-12-17 21:48:38 -0500
committerAndrea Bastoni <bastoni@cs.unc.edu>2009-12-17 21:48:38 -0500
commit0c70a26073633b3879eac57d38f1260c1bebeafc (patch)
tree522dd28bd06f7d94d46c38a02de22114b6279469 /include/litmus/unistd_32.h
parentdca58944f6c63db5fb622e9e7e8581cc652f6a54 (diff)
Porting on x86_64
- add syscall on x86_64 - refactor __NR_sleep_next_period -> __NR_complete_job for both x86_32 and x86_64
Diffstat (limited to 'include/litmus/unistd_32.h')
-rw-r--r--include/litmus/unistd_32.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/litmus/unistd_32.h b/include/litmus/unistd_32.h
new file mode 100644
index 000000000000..dbddc6523f8e
--- /dev/null
+++ b/include/litmus/unistd_32.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_complete_job __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