aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus.h
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2008-01-23 11:16:40 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2008-01-23 11:16:40 -0500
commitd56b86e42b72abb68ba74bf540ddc259f6b20f84 (patch)
treea9d78e760bcf4254d883c6242d384f9d1261098f /include/litmus.h
parent23701920e39a903883f19c2749383bba2a746405 (diff)
reorganize liblitmus to be more modular
Diffstat (limited to 'include/litmus.h')
-rw-r--r--include/litmus.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/include/litmus.h b/include/litmus.h
index 925cb44..ff21963 100644
--- a/include/litmus.h
+++ b/include/litmus.h
@@ -126,12 +126,8 @@ int reg_ics_cb(struct ics_cb* ics_cb);
126int start_wcs(int od); 126int start_wcs(int od);
127 127
128/* library functions */ 128/* library functions */
129void init_litmus(void); 129int init_litmus(void);
130/* exit is currently unused, but was needed for syscall 130void exit_litmus(void);
131 * tracing and may be needed in the future. Leave it in
132 * for the purpose of source code compatability.
133 */
134#define exit_litmus() {}
135 131
136int create_rt_task(rt_fn_t rt_prog, void *arg, int cpu, int wcet, int period); 132int create_rt_task(rt_fn_t rt_prog, void *arg, int cpu, int wcet, int period);
137int __create_rt_task(rt_fn_t rt_prog, void *arg, int cpu, int wcet, 133int __create_rt_task(rt_fn_t rt_prog, void *arg, int cpu, int wcet,
@@ -157,12 +153,4 @@ void exit_np(void);
157 */ 153 */
158int litmus_task_active(); 154int litmus_task_active();
159 155
160
161/* low level operations, not intended for API use */
162
163/* prepare a real-time task */
164typedef int (*rt_setup_fn_t)(int pid, void* arg);
165int __launch_rt_task(rt_fn_t rt_prog, void *rt_arg,
166 rt_setup_fn_t setup, void* setup_arg);
167
168#endif 156#endif