diff options
author | Sven Dziadek <s9svdzia@stud.uni-saarland.de> | 2012-04-16 15:00:33 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2012-07-23 05:57:59 -0400 |
commit | 16c1fb2d4ac691e941456a084284020c63fce93a (patch) | |
tree | 0f7cf24be334788c9f9bb8242966df83f6266dc6 /include/litmus/rt_param.h | |
parent | 4bc55d3b64fdf0af17f4777013a74fbef7f40ced (diff) |
P-FP: port P-FP plugin used in B. Brandenburg's
dissertation (branch bbb-diss) to current
version of litmus
This is needed for ongoing projects
I took the unchanged code but removed some leftovers
of OMLP which is not implemented
Diffstat (limited to 'include/litmus/rt_param.h')
-rw-r--r-- | include/litmus/rt_param.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h index d6d799174160..1ce96af51287 100644 --- a/include/litmus/rt_param.h +++ b/include/litmus/rt_param.h | |||
@@ -33,11 +33,14 @@ typedef enum { | |||
33 | PRECISE_ENFORCEMENT /* budgets are enforced with hrtimers */ | 33 | PRECISE_ENFORCEMENT /* budgets are enforced with hrtimers */ |
34 | } budget_policy_t; | 34 | } budget_policy_t; |
35 | 35 | ||
36 | #define LITMUS_MAX_PRIORITY 512 | ||
37 | |||
36 | struct rt_task { | 38 | struct rt_task { |
37 | lt_t exec_cost; | 39 | lt_t exec_cost; |
38 | lt_t period; | 40 | lt_t period; |
39 | lt_t phase; | 41 | lt_t phase; |
40 | unsigned int cpu; | 42 | unsigned int cpu; |
43 | unsigned int priority; | ||
41 | task_class_t cls; | 44 | task_class_t cls; |
42 | budget_policy_t budget_policy; /* ignored by pfair */ | 45 | budget_policy_t budget_policy; /* ignored by pfair */ |
43 | }; | 46 | }; |