1 /* Function prototypes. */
11 _PROTOTYPE( int do_alarm
, (void) );
12 _PROTOTYPE( int do_itimer
, (void) );
13 _PROTOTYPE( void set_alarm
, (struct mproc
*rmp
, clock_t ticks
) );
14 _PROTOTYPE( void check_vtimer
, (int proc_nr
, int sig
) );
17 _PROTOTYPE( int do_brk
, (void) );
20 _PROTOTYPE( int do_adddma
, (void) );
21 _PROTOTYPE( int do_deldma
, (void) );
22 _PROTOTYPE( int do_getdma
, (void) );
25 _PROTOTYPE( int do_exec
, (void) );
26 _PROTOTYPE( int do_exec_newmem
, (void) );
27 _PROTOTYPE( int do_execrestart
, (void) );
28 _PROTOTYPE( void exec_restart
, (struct mproc
*rmp
, int result
) );
31 _PROTOTYPE( int do_fork
, (void) );
32 _PROTOTYPE( int do_fork_nb
, (void) );
33 _PROTOTYPE( int do_exit
, (void) );
34 _PROTOTYPE( void exit_proc
, (struct mproc
*rmp
, int exit_status
,
36 _PROTOTYPE( void exit_restart
, (struct mproc
*rmp
, int dump_core
) );
37 _PROTOTYPE( int do_waitpid
, (void) );
38 _PROTOTYPE( int wait_test
, (struct mproc
*rmp
, struct mproc
*child
) );
41 _PROTOTYPE( int do_get
, (void) );
42 _PROTOTYPE( int do_set
, (void) );
45 _PROTOTYPE( int main
, (void) );
46 _PROTOTYPE( void setreply
, (int proc_nr
, int result
) );
49 _PROTOTYPE( int do_reboot
, (void) );
50 _PROTOTYPE( int do_procstat
, (void) );
51 _PROTOTYPE( int do_sysuname
, (void) );
52 _PROTOTYPE( int do_getsysinfo
, (void) );
53 _PROTOTYPE( int do_getsysinfo_up
, (void) );
54 _PROTOTYPE( int do_getprocnr
, (void) );
55 _PROTOTYPE( int do_getepinfo
, (void) );
56 _PROTOTYPE( int do_svrctl
, (void) );
57 _PROTOTYPE( int do_getsetpriority
, (void) );
60 _PROTOTYPE( int do_sprofile
, (void) );
61 _PROTOTYPE( int do_cprofile
, (void) );
64 _PROTOTYPE( int do_kill
, (void) );
65 _PROTOTYPE( int ksig_pending
, (void) );
66 _PROTOTYPE( int do_pause
, (void) );
67 _PROTOTYPE( int check_sig
, (pid_t proc_id
, int signo
) );
68 _PROTOTYPE( void sig_proc
, (struct mproc
*rmp
, int signo
, int trace
) );
69 _PROTOTYPE( int do_sigaction
, (void) );
70 _PROTOTYPE( int do_sigpending
, (void) );
71 _PROTOTYPE( int do_sigprocmask
, (void) );
72 _PROTOTYPE( int do_sigreturn
, (void) );
73 _PROTOTYPE( int do_sigsuspend
, (void) );
74 _PROTOTYPE( void check_pending
, (struct mproc
*rmp
) );
75 _PROTOTYPE( void restart_sigs
, (struct mproc
*rmp
) );
76 _PROTOTYPE( void vm_notify_sig_wrapper
, (endpoint_t ep
) );
79 _PROTOTYPE( int do_stime
, (void) );
80 _PROTOTYPE( int do_time
, (void) );
81 _PROTOTYPE( int do_times
, (void) );
84 _PROTOTYPE( void pm_set_timer
, (timer_t
*tp
, int delta
,
85 tmr_func_t watchdog
, int arg
) );
86 _PROTOTYPE( void pm_expire_timers
, (clock_t now
) );
87 _PROTOTYPE( void pm_cancel_timer
, (timer_t
*tp
) );
90 _PROTOTYPE( int do_trace
, (void) );
91 _PROTOTYPE( void stop_proc
, (struct mproc
*rmp
, int sig_nr
) );
94 _PROTOTYPE( pid_t get_free_pid
, (void) );
95 _PROTOTYPE( int no_sys
, (void) );
96 _PROTOTYPE( char *find_param
, (const char *key
) );
97 _PROTOTYPE( struct mproc
*find_proc
, (pid_t lpid
) );
98 _PROTOTYPE( int pm_isokendpt
, (int ep
, int *proc
) );
99 _PROTOTYPE( void tell_fs
, (struct mproc
*rmp
, message
*m_ptr
) );