[BACK]Return to proc.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / sys

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/sys/proc.h between version 1.280 and 1.280.2.1

version 1.280, 2008/06/16 09:51:14 version 1.280.2.1, 2008/10/19 22:18:09
Line 172  struct emul {
Line 172  struct emul {
         /* Emulation-specific hook for userspace page faults */          /* Emulation-specific hook for userspace page faults */
         int             (*e_usertrap)(struct lwp *, vaddr_t, void *);          int             (*e_usertrap)(struct lwp *, vaddr_t, void *);
   
           /* SA-related information */
           const struct sa_emul *e_sa;
   
         size_t          e_ucsize;       /* size of ucontext_t */          size_t          e_ucsize;       /* size of ucontext_t */
         void            (*e_startlwp)(void *);          void            (*e_startlwp)(void *);
 };  };
Line 257  struct proc {
Line 260  struct proc {
         u_int           p_waited;       /* l: parent has waited on child */          u_int           p_waited;       /* l: parent has waited on child */
         struct lwp      *p_zomblwp;     /* p: detached LWP to be reaped */          struct lwp      *p_zomblwp;     /* p: detached LWP to be reaped */
   
           struct sadata   *p_sa;          /* p: Scheduler activation info */
   
         /* scheduling */          /* scheduling */
         void            *p_sched_info;  /* p: Scheduler-specific structure */          void            *p_sched_info;  /* p: Scheduler-specific structure */
         fixpt_t         p_estcpu;       /* p: Time avg. value of p_cpticks */          fixpt_t         p_estcpu;       /* p: Time avg. value of p_cpticks */
Line 272  struct proc {
Line 277  struct proc {
         u_quad_t        p_iticks;       /* t: Statclock hits processing intr */          u_quad_t        p_iticks;       /* t: Statclock hits processing intr */
   
         int             p_traceflag;    /* k: Kernel trace points */          int             p_traceflag;    /* k: Kernel trace points */
           int             p_timerpend;    /* p: Pending itimer to run */
         void            *p_tracep;      /* k: Trace private data */          void            *p_tracep;      /* k: Trace private data */
         struct vnode    *p_textvp;      /* :: Vnode of executable */          struct vnode    *p_textvp;      /* :: Vnode of executable */
   
Line 282  struct proc {
Line 288  struct proc {
         struct klist    p_klist;        /* p: knotes attached to proc */          struct klist    p_klist;        /* p: knotes attached to proc */
   
         LIST_HEAD(, lwp) p_sigwaiters;  /* p: LWPs waiting for signals */          LIST_HEAD(, lwp) p_sigwaiters;  /* p: LWPs waiting for signals */
           sigstore_t      p_sigstore;     /* p: process-wide signal state */
         sigpend_t       p_sigpend;      /* p: pending signals */          sigpend_t       p_sigpend;      /* p: pending signals */
         struct lcproc   *p_lwpctl;      /* p, a: _lwp_ctl() information */          struct lcproc   *p_lwpctl;      /* p, a: _lwp_ctl() information */
         pid_t           p_ppid;         /* :: cached parent pid */          pid_t           p_ppid;         /* :: cached parent pid */
Line 357  struct proc {
Line 364  struct proc {
  * process context only.   * process context only.
  */   */
 #define PS_NOCLDSTOP    0x00000008 /* No SIGCHLD when children stop */  #define PS_NOCLDSTOP    0x00000008 /* No SIGCHLD when children stop */
   #define PS_SA           0x00000400 /* Process using scheduler activations */
 #define PS_WCORE        0x00001000 /* Process needs to dump core */  #define PS_WCORE        0x00001000 /* Process needs to dump core */
 #define PS_WEXIT        0x00002000 /* Working on exiting */  #define PS_WEXIT        0x00002000 /* Working on exiting */
 #define PS_STOPFORK     0x00800000 /* Child will be stopped on fork(2) */  #define PS_STOPFORK     0x00800000 /* Child will be stopped on fork(2) */
 #define PS_STOPEXEC     0x01000000 /* Will be stopped on exec(2) */  #define PS_STOPEXEC     0x01000000 /* Will be stopped on exec(2) */
 #define PS_STOPEXIT     0x02000000 /* Will be stopped at process exit */  #define PS_STOPEXIT     0x02000000 /* Will be stopped at process exit */
 #define PS_NOTIFYSTOP   0x10000000 /* Notify parent of successful STOP */  #define PS_NOTIFYSTOP   0x10000000 /* Notify parent of successful STOP */
   #define PS_NOSA         0x40000000 /* Do not enable SA */
 #define PS_STOPPING     0x80000000 /* Transitioning SACTIVE -> SSTOP */  #define PS_STOPPING     0x80000000 /* Transitioning SACTIVE -> SSTOP */
   
 /*  /*

Legend:
Removed from v.1.280  
changed lines
  Added in v.1.280.2.1

CVSweb <webmaster@jp.NetBSD.org>