aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2011-06-02 16:12:13 -0400
committerGlenn Elliott <gelliott@cs.unc.edu>2011-06-02 16:12:13 -0400
commit46e1995ef071f61cd1e21e61857c7ce66cac2022 (patch)
tree04d28ecbc954dfd962f7ec033660aba874d54561 /src
parented2742a29674222173147b73f223bc7be01e1eaf (diff)
LibLitmus2010 changes to support klitirqd and Nvidia GPUs. Changes mostly related to k-FMLP.wip-pai
Diffstat (limited to 'src')
-rw-r--r--src/syscalls.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/syscalls.c b/src/syscalls.c
index d800141..b0fee23 100644
--- a/src/syscalls.c
+++ b/src/syscalls.c
@@ -88,3 +88,13 @@ int null_call(cycles_t *timestamp)
88{ 88{
89 return syscall(__NR_null_call, timestamp); 89 return syscall(__NR_null_call, timestamp);
90} 90}
91
92int register_nv_device(int nv_device_id)
93{
94 return syscall(__NR_register_nv_device, nv_device_id, 1);
95}
96
97int unregister_nv_device(int nv_device_id)
98{
99 return syscall(__NR_register_nv_device, nv_device_id, 0);
100}