aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristopher Kenna <cjk@cs.unc.edu>2011-08-27 18:00:39 -0400
committerChristopher Kenna <cjk@cs.unc.edu>2011-08-27 18:00:39 -0400
commitf143b41261e8ae9cc48e8b68af2679ef332bd9e4 (patch)
treea7914d6ae181df324aa9f91269cf7d80d87d507e /include
parentd691d4545dc0594bc4bf13c4c07eeeaf73c3b232 (diff)
Changes to rtspin for mixed criticality (MC).
Add options to rtspin to set the criticality level using the -r flag. You must be using a kernel that has support for mixed criticality (has include/litmus/sched_mc.h for struct definitions, etc.).
Diffstat (limited to 'include')
-rw-r--r--include/litmus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/litmus.h b/include/litmus.h
index 52435d8..b693e5c 100644
--- a/include/litmus.h
+++ b/include/litmus.h
@@ -26,6 +26,9 @@ int be_migrate_to(int target_cpu);
26int set_rt_task_param(pid_t pid, struct rt_task* param); 26int set_rt_task_param(pid_t pid, struct rt_task* param);
27int get_rt_task_param(pid_t pid, struct rt_task* param); 27int get_rt_task_param(pid_t pid, struct rt_task* param);
28 28
29struct mc_task;
30int set_rt_task_mc_param(pid_t pid, struct mc_task *param);
31
29/* setup helper */ 32/* setup helper */
30 33
31/* times are given in ms */ 34/* times are given in ms */