From 16c1fb2d4ac691e941456a084284020c63fce93a Mon Sep 17 00:00:00 2001 From: Sven Dziadek Date: Mon, 16 Apr 2012 21:00:33 +0200 Subject: 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 --- include/litmus/rt_param.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/litmus/rt_param.h') 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 { PRECISE_ENFORCEMENT /* budgets are enforced with hrtimers */ } budget_policy_t; +#define LITMUS_MAX_PRIORITY 512 + struct rt_task { lt_t exec_cost; lt_t period; lt_t phase; unsigned int cpu; + unsigned int priority; task_class_t cls; budget_policy_t budget_policy; /* ignored by pfair */ }; -- cgit v1.2.2