aboutsummaryrefslogtreecommitdiffstats
path: root/litmus.c
diff options
context:
space:
mode:
Diffstat (limited to 'litmus.c')
-rw-r--r--litmus.c33
1 files changed, 21 insertions, 12 deletions
diff --git a/litmus.c b/litmus.c
index 9d67aa8..2561a3c 100644
--- a/litmus.c
+++ b/litmus.c
@@ -187,26 +187,35 @@ task_class_t str2class(const char* str)
187#define __NR_down 336 187#define __NR_down 336
188#define __NR_up 337 188#define __NR_up 337
189#define __NR_sema_free 338 189#define __NR_sema_free 338
190 190#define __NR_srp_sema_init 339
191#define __NR_srp_down 340
192#define __NR_srp_up 341
193#define __NR_reg_task_srp_sem 342
194#define __NR_srp_sema_free 343
191 195
192/* Syscall stub for setting RT mode and scheduling options */ 196/* Syscall stub for setting RT mode and scheduling options */
193_syscall1(spolicy, sched_setpolicy, spolicy, arg1); 197_syscall1(spolicy, sched_setpolicy, spolicy, arg1);
194_syscall0(spolicy, sched_getpolicy); 198_syscall0(spolicy, sched_getpolicy);
195_syscall1(int, set_rt_mode, int, arg1); 199_syscall1(int, set_rt_mode, int, arg1);
196_syscall2(int, set_rt_task_param, pid_t, pid, rt_param_t*, arg1); 200_syscall2(int, set_rt_task_param, pid_t, pid, rt_param_t*, arg1);
197_syscall2(int, get_rt_task_param, pid_t, pid, rt_param_t*, arg1); 201_syscall2(int, get_rt_task_param, pid_t, pid, rt_param_t*, arg1);
198_syscall1(int, prepare_rt_task, pid_t, pid); 202_syscall1(int, prepare_rt_task, pid_t, pid);
199_syscall0(int, reset_stat); 203_syscall0(int, reset_stat);
200_syscall0(int, sleep_next_period); 204_syscall0(int, sleep_next_period);
201_syscall2(int, scheduler_setup, int, cmd, void*, param); 205_syscall2(int, scheduler_setup, int, cmd, void*, param);
202_syscall0(int, enter_np); 206_syscall0(int, enter_np);
203_syscall0(int, exit_np); 207_syscall0(int, exit_np);
204_syscall0(int, pi_sema_init); 208_syscall0(int, pi_sema_init);
205_syscall1(int, pi_down, pi_sema_id, sem_id); 209_syscall1(int, pi_down, pi_sema_id, sem_id);
206_syscall1(int, pi_up, pi_sema_id, sem_id); 210_syscall1(int, pi_up, pi_sema_id, sem_id);
207_syscall1(int, pi_sema_free, pi_sema_id, sem_id); 211_syscall1(int, pi_sema_free, pi_sema_id, sem_id);
208_syscall0(int, sema_init); 212_syscall0(int, sema_init);
209_syscall1(int, down, sema_id, sem_id); 213_syscall1(int, down, sema_id, sem_id);
210_syscall1(int, up, sema_id, sem_id); 214_syscall1(int, up, sema_id, sem_id);
211_syscall1(int, sema_free, sema_id, sem_id); 215_syscall1(int, sema_free, sema_id, sem_id);
216_syscall0(int, srp_sema_init);
217_syscall1(int, srp_down, srp_sema_id, sem_id);
218_syscall1(int, srp_up, srp_sema_id, sem_id);
219_syscall2(int, reg_task_srp_sem, srp_sema_id, sem_id, pid_t, t_pid);
220_syscall1(int, srp_sema_free, srp_sema_id, sem_id);
212 221