1 /* Function prototypes. */
3 /* Structs used in prototypes must be declared as such first. */
7 _PROTOTYPE( int dev_execve
, (int proc_e
,
8 char *exec
, size_t exec_len
, char *argv
[], char **env
));
11 _PROTOTYPE( int main
, (void));
14 _PROTOTYPE( int do_up
, (message
*m
));
15 _PROTOTYPE( int do_down
, (message
*m
));
16 _PROTOTYPE( int do_refresh
, (message
*m
));
17 _PROTOTYPE( int do_restart
, (message
*m
));
18 _PROTOTYPE( int do_lookup
, (message
*m
));
19 _PROTOTYPE( int do_shutdown
, (message
*m
));
20 _PROTOTYPE( void do_period
, (message
*m
));
21 _PROTOTYPE( int do_init_ready
, (message
*m
));
22 _PROTOTYPE( int do_update
, (message
*m
));
23 _PROTOTYPE( int do_upd_ready
, (message
*m
));
24 _PROTOTYPE( void do_exit
, (message
*m
));
25 _PROTOTYPE( int do_getsysinfo
, (message
*m
));
28 _PROTOTYPE( int init_service
, (struct rproc
*rp
, int type
));
29 _PROTOTYPE( int publish_service
, (struct rproc
*rp
));
30 _PROTOTYPE(void fill_call_mask
, ( int *calls
, int tot_nr_calls
,
31 bitchunk_t
*call_mask
, int call_base
, int is_init
));
34 _PROTOTYPE( void* rs_startup_sbrk
, (size_t size
));
35 _PROTOTYPE( void* rs_startup_sbrk_synch
, (size_t size
));
36 _PROTOTYPE( int rs_startup_segcopy
, (endpoint_t src_proc
, int src_s
,
37 int dst_s
, vir_bytes dst_vir
, phys_bytes bytes
));