EXTERN struct proc {
int p_reg [NR_REGS];
int *p_sp;
struct pc_psw p_pcpsw;
int p_flags;
struct mem_map p_map [NR_SEGS];
int *p_splimit;
int p_pid;
real_time user_time;
real_time sys_time;
real_time child_utime;
real_time child_stime;
real_time p_alarm;
struct proc *p_callreg;
struct proc *p_sendlink;
message *p_messbuf;
int p_setfrom;
struct proc *p_nextready;
int p_pending;
} proc [NR_TASKS + NR_PROCS];
mm/mproc.h
EXTERN struct mproc {
struct mem_map mp_seg [NR_SEGS];
char mp_exitstatus;
char mp_sigstatus;
int mp_pid;
int mp_parent;
int mp_procgrp;
uid mp_realuid;
uid mp_effuid;
gid mp_realgid;
gid mp_effgid;
unshort mp_ignore;
unshort mp_catch;
int (*mp_func)();
unsigned mp_flags;
} mproc [NR_PROCS];
|