diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-02-19 15:48:59 -0500 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-02-19 15:48:59 -0500 |
commit | 8cea6a4d179628e96d8d012f7a7f18d112fdb060 (patch) | |
tree | edbec8b5f4c91775f089c72a345096066fe8e5d6 /src/task.c | |
parent | 2c1f329215e57a6f070cab21236b132b22ef80c2 (diff) |
adapt to new ABI
Diffstat (limited to 'src/task.c')
-rw-r--r-- | src/task.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -42,10 +42,11 @@ int __create_rt_task(rt_fn_t rt_prog, void *arg, int cpu, int wcet, int period, | |||
42 | task_class_t class) | 42 | task_class_t class) |
43 | { | 43 | { |
44 | struct rt_task params; | 44 | struct rt_task params; |
45 | params.cpu = cpu; | 45 | params.cpu = cpu; |
46 | params.period = period; | 46 | params.period = period; |
47 | params.exec_cost = wcet; | 47 | params.exec_cost = wcet; |
48 | params.cls = class; | 48 | params.cls = class; |
49 | params.phase = 0; | ||
49 | return __launch_rt_task(rt_prog, arg, | 50 | return __launch_rt_task(rt_prog, arg, |
50 | (rt_setup_fn_t) set_rt_task_param, ¶ms); | 51 | (rt_setup_fn_t) set_rt_task_param, ¶ms); |
51 | } | 52 | } |