From a463f9a9e04385f0729f7435a0a6dff7d89b25de Mon Sep 17 00:00:00 2001 From: Glenn Elliott Date: Sat, 26 May 2012 17:29:58 -0400 Subject: GPUSync patch for Litmus 2012.1. --- include/litmus/unistd_64.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'include/litmus/unistd_64.h') diff --git a/include/litmus/unistd_64.h b/include/litmus/unistd_64.h index d5ced0d2642c..f80dc45dc185 100644 --- a/include/litmus/unistd_64.h +++ b/include/litmus/unistd_64.h @@ -29,5 +29,12 @@ __SYSCALL(__NR_wait_for_ts_release, sys_wait_for_ts_release) __SYSCALL(__NR_release_ts, sys_release_ts) #define __NR_null_call __LSC(11) __SYSCALL(__NR_null_call, sys_null_call) +#define __NR_litmus_dgl_lock __LSC(12) +__SYSCALL(__NR_litmus_dgl_lock, sys_litmus_dgl_lock) +#define __NR_litmus_dgl_unlock __LSC(13) +__SYSCALL(__NR_litmus_dgl_unlock, sys_litmus_dgl_unlock) +#define __NR_register_nv_device __LSC(14) +__SYSCALL(__NR_register_nv_device, sys_register_nv_device) -#define NR_litmus_syscalls 12 + +#define NR_litmus_syscalls 15 -- cgit v1.2.2 From fd3aa01f176cf12b1625f4f46ba01f3340bb57ed Mon Sep 17 00:00:00 2001 From: Glenn Elliott Date: Tue, 11 Sep 2012 19:36:11 -0400 Subject: blarg --- include/litmus/unistd_64.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/litmus/unistd_64.h') diff --git a/include/litmus/unistd_64.h b/include/litmus/unistd_64.h index d5ced0d2642c..5f56d5947343 100644 --- a/include/litmus/unistd_64.h +++ b/include/litmus/unistd_64.h @@ -30,4 +30,7 @@ __SYSCALL(__NR_release_ts, sys_release_ts) #define __NR_null_call __LSC(11) __SYSCALL(__NR_null_call, sys_null_call) -#define NR_litmus_syscalls 12 +#define __NR_slave_non_rt_threads __LSC(12) +__SYSCALL(__NR_slave_non_rt_threads, sys_slave_non_rt_threads) + +#define NR_litmus_syscalls 13 -- cgit v1.2.2 From c58a74c8ad2d2b1b01be12afb9bac58dfef0d16a Mon Sep 17 00:00:00 2001 From: Glenn Elliott Date: Sun, 16 Sep 2012 18:29:36 -0400 Subject: Added CONFIG_REALTIME_AUX_TASKS option Auxillary task features were enabled by CONFIG_LITMUS_LOCKING. Made auxillary tasks a seperate feature that depends upon CONFIG_LITMUS_LOCKING. --- include/litmus/unistd_64.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/litmus/unistd_64.h') diff --git a/include/litmus/unistd_64.h b/include/litmus/unistd_64.h index abb45c181e8e..3825bc129dbd 100644 --- a/include/litmus/unistd_64.h +++ b/include/litmus/unistd_64.h @@ -33,10 +33,10 @@ __SYSCALL(__NR_null_call, sys_null_call) __SYSCALL(__NR_litmus_dgl_lock, sys_litmus_dgl_lock) #define __NR_litmus_dgl_unlock __LSC(13) __SYSCALL(__NR_litmus_dgl_unlock, sys_litmus_dgl_unlock) -#define __NR_register_nv_device __LSC(14) +#define __NR_register_nv_device __LSC(14) __SYSCALL(__NR_register_nv_device, sys_register_nv_device) -#define __NR_slave_non_rt_threads __LSC(15) -__SYSCALL(__NR_slave_non_rt_threads, sys_slave_non_rt_threads) +#define __NR_set_aux_tasks __LSC(15) +__SYSCALL(__NR_set_aux_tasks, sys_set_aux_tasks) #define NR_litmus_syscalls 16 -- cgit v1.2.2 From c8483ef0959672310bf4ebb72e1a308b00543f74 Mon Sep 17 00:00:00 2001 From: Glenn Elliott Date: Tue, 11 Dec 2012 22:01:01 -0500 Subject: make klmirqd work like aux tasks. checkpoint. this code is untested! --- include/litmus/unistd_64.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include/litmus/unistd_64.h') diff --git a/include/litmus/unistd_64.h b/include/litmus/unistd_64.h index 3825bc129dbd..51e730124dde 100644 --- a/include/litmus/unistd_64.h +++ b/include/litmus/unistd_64.h @@ -33,10 +33,8 @@ __SYSCALL(__NR_null_call, sys_null_call) __SYSCALL(__NR_litmus_dgl_lock, sys_litmus_dgl_lock) #define __NR_litmus_dgl_unlock __LSC(13) __SYSCALL(__NR_litmus_dgl_unlock, sys_litmus_dgl_unlock) -#define __NR_register_nv_device __LSC(14) -__SYSCALL(__NR_register_nv_device, sys_register_nv_device) -#define __NR_set_aux_tasks __LSC(15) +#define __NR_set_aux_tasks __LSC(14) __SYSCALL(__NR_set_aux_tasks, sys_set_aux_tasks) -#define NR_litmus_syscalls 16 +#define NR_litmus_syscalls 15 -- cgit v1.2.2 From 1235a665a5e00dc762e6646c01381b3ed5019d86 Mon Sep 17 00:00:00 2001 From: Glenn Elliott Date: Wed, 9 Jan 2013 17:00:54 -0500 Subject: Enable sched_trace log injection from userspace --- include/litmus/unistd_64.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/litmus/unistd_64.h') diff --git a/include/litmus/unistd_64.h b/include/litmus/unistd_64.h index 51e730124dde..75f9fcb897f5 100644 --- a/include/litmus/unistd_64.h +++ b/include/litmus/unistd_64.h @@ -37,4 +37,7 @@ __SYSCALL(__NR_litmus_dgl_unlock, sys_litmus_dgl_unlock) #define __NR_set_aux_tasks __LSC(14) __SYSCALL(__NR_set_aux_tasks, sys_set_aux_tasks) -#define NR_litmus_syscalls 15 +#define __NR_sched_trace_event __LSC(15) +__SYSCALL(__NR_sched_trace_event, sys_sched_trace_event) + +#define NR_litmus_syscalls 16 -- cgit v1.2.2