00001
00009
00010
00011
00012
00013 import <l4/sys/types.h>
00014 import <l4/dm_generic/types.h>
00015
00016 typedef long envpage_t[563];
00017
00019 library l4loader
00020 {
00021 const int MAX_TASK_ID = 16;
00022
00024 interface app
00025 {
00055 long open([in] l4dm_dataspace_t img_ds,
00056 [in, string] char* fname,
00057 [in] l4_threadid_t fprov,
00058 [in] unsigned long flags,
00059 [out, max_is(MAX_TASK_ID)] l4_taskid_t task_ids[],
00060 [out, string, prealloc_client] char** error_msg);
00061
00065 long cont([in] l4_taskid_t taskid);
00066
00076 long kill([in] l4_taskid_t task_id, [in] unsigned long flags);
00077
00086 long dump([in] unsigned long task_id, [in] unsigned long flags);
00087
00097 long info([in] unsigned long task_id, [in] unsigned long flags,
00098 [out, string, prealloc_client] char** fname,
00099 [out] l4dm_dataspace_t *l4env_page);
00100 };
00101 };
00102