diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2015-12-16 07:33:21 -0500 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2015-12-18 03:43:48 -0500 |
commit | c820535d6864137e158df46d0903c6f44a97ca31 (patch) | |
tree | 9149f2c4b11242be423dd2ce95e114dc5bd5e190 /include | |
parent | 69ddb96d06d0890df5f291dde7d829000f062a48 (diff) |
Switch syscalls to use new LITMUS^RT ioctl() interface
This change should be transparent to clients of the library.
Diffstat (limited to 'include')
-rw-r--r-- | include/internal.h | 2 | ||||
-rw-r--r-- | include/litmus.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/internal.h b/include/internal.h index 354f7dc..ee420ad 100644 --- a/include/internal.h +++ b/include/internal.h | |||
@@ -26,5 +26,7 @@ | |||
26 | /* I/O convenience function */ | 26 | /* I/O convenience function */ |
27 | ssize_t read_file(const char* fname, void* buf, size_t maxlen); | 27 | ssize_t read_file(const char* fname, void* buf, size_t maxlen); |
28 | 28 | ||
29 | long litmus_syscall(litmus_syscall_id_t syscall, unsigned long arg); | ||
30 | |||
29 | #endif | 31 | #endif |
30 | 32 | ||
diff --git a/include/litmus.h b/include/litmus.h index 2c5d4df..adec0ee 100644 --- a/include/litmus.h +++ b/include/litmus.h | |||
@@ -35,6 +35,9 @@ extern "C" { | |||
35 | * and control_page structures. | 35 | * and control_page structures. |
36 | */ | 36 | */ |
37 | #include "litmus/rt_param.h" | 37 | #include "litmus/rt_param.h" |
38 | #define __user | ||
39 | #include "litmus/ctrlpage.h" | ||
40 | #undef __user | ||
38 | 41 | ||
39 | #include "asm/cycles.h" /* for null_call() */ | 42 | #include "asm/cycles.h" /* for null_call() */ |
40 | 43 | ||