diff options
author | Jennifer Averett <jennifer.averett@oarcorp.com> | 2012-11-26 09:47:09 -0600 |
---|---|---|
committer | Jennifer Averett <jennifer.averett@oarcorp.com> | 2012-11-26 09:47:09 -0600 |
commit | 0bde19eee050bbdc4511070cf14f48719e400c26 (patch) | |
tree | d7bf926c193da25600c5612fe25070c5133d9979 /freebsd/sys/proc.h | |
parent | Add custom limits.h and timespec.h (diff) | |
download | rtems-libbsd-0bde19eee050bbdc4511070cf14f48719e400c26.tar.bz2 |
Switch to a version of select that is closer to bsd's version.
Diffstat (limited to 'freebsd/sys/proc.h')
-rw-r--r-- | freebsd/sys/proc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/freebsd/sys/proc.h b/freebsd/sys/proc.h index 39ddd782..04022ee5 100644 --- a/freebsd/sys/proc.h +++ b/freebsd/sys/proc.h @@ -208,7 +208,9 @@ struct thread { TAILQ_ENTRY(thread) td_slpq; /* (t) Sleep queue. */ TAILQ_ENTRY(thread) td_lockq; /* (t) Lock queue. */ struct cpuset *td_cpuset; /* (t) CPU affinity mask. */ +#endif /* __rtems__ */ struct seltd *td_sel; /* Select queue/channel. */ +#ifndef __rtems__ struct sleepqueue *td_sleepqueue; /* (k) Associated sleep queue. */ struct turnstile *td_turnstile; /* (k) Associated turnstile. */ struct umtx_q *td_umtxq; /* (c?) Link for when we're blocked. */ @@ -478,7 +480,9 @@ struct proc { TAILQ_HEAD(, thread) p_threads; /* (c) all threads. */ struct mtx p_slock; /* process spin lock */ struct ucred *p_ucred; /* (c) Process owner's identity. */ +#endif /* __rtems__ */ struct filedesc *p_fd; /* (b) Open files. */ +#ifndef __rtems__ struct filedesc_to_leader *p_fdtol; /* (b) Tracking node */ struct pstats *p_stats; /* (b) Accounting/statistics (CPU). */ struct plimit *p_limit; /* (c) Process limits. */ @@ -572,6 +576,9 @@ struct proc { struct kdtrace_proc *p_dtrace; /* (*) DTrace-specific data. */ struct cv p_pwait; /* (*) wait cv for exit/exec */ #else /* __rtems__ */ + struct sigiolst p_sigiolst; /* (c) List of sigio sources. */ + int p_flag; /* (c) P_* flags. */ + struct proc *p_leader; /* (b) */ struct ucred *p_ucred; /* (c) Process owner's identity. */ struct mtx p_mtx; /* (n) Lock for this struct. */ rtems_id p_pid; |