aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/rt_param.h
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2011-01-31 17:40:05 -0500
committerGlenn Elliott <gelliott@cs.unc.edu>2011-01-31 17:40:05 -0500
commitf7e2bddcd1ff1b651f212f7f8919105597de0c2d (patch)
treefa6b648f84df41d4c84846e736674da59db587d4 /include/litmus/rt_param.h
parentae5fade24f7e9009168169b65e677ec554770e42 (diff)
Make it easier to compile AEDZL interfaces in liblitmus.wip-aedzl-final
Diffstat (limited to 'include/litmus/rt_param.h')
-rw-r--r--include/litmus/rt_param.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h
index 41ac654dd27e..e746dfc1a185 100644
--- a/include/litmus/rt_param.h
+++ b/include/litmus/rt_param.h
@@ -5,6 +5,10 @@
5#ifndef _LINUX_RT_PARAM_H_ 5#ifndef _LINUX_RT_PARAM_H_
6#define _LINUX_RT_PARAM_H_ 6#define _LINUX_RT_PARAM_H_
7 7
8#ifdef CONFIG_PLUGIN_AEDZL
9#include <litmus/fpmath.h>
10#endif
11
8/* Litmus time type. */ 12/* Litmus time type. */
9typedef unsigned long long lt_t; 13typedef unsigned long long lt_t;
10 14
@@ -33,14 +37,6 @@ typedef enum {
33 PRECISE_ENFORCEMENT /* NOT IMPLEMENTED - enforced with hrtimers */ 37 PRECISE_ENFORCEMENT /* NOT IMPLEMENTED - enforced with hrtimers */
34} budget_policy_t; 38} budget_policy_t;
35 39
36#ifdef CONFIG_PLUGIN_AEDZL
37typedef long fpbuf_t;
38typedef struct
39{
40 fpbuf_t val;
41} fp_t;
42#endif
43
44struct rt_task { 40struct rt_task {
45 lt_t exec_cost; 41 lt_t exec_cost;
46 lt_t period; 42 lt_t period;