Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/proc.h
Show First 20 Lines • Show All 280 Lines • ▼ Show 20 Lines | |||||
#define td_startcopy td_endzero | #define td_startcopy td_endzero | ||||
sigset_t td_sigmask; /* (c) Current signal mask. */ | sigset_t td_sigmask; /* (c) Current signal mask. */ | ||||
u_char td_rqindex; /* (t) Run queue index. */ | u_char td_rqindex; /* (t) Run queue index. */ | ||||
u_char td_base_pri; /* (t) Thread base kernel priority. */ | u_char td_base_pri; /* (t) Thread base kernel priority. */ | ||||
u_char td_priority; /* (t) Thread active priority. */ | u_char td_priority; /* (t) Thread active priority. */ | ||||
u_char td_pri_class; /* (t) Scheduling class. */ | u_char td_pri_class; /* (t) Scheduling class. */ | ||||
u_char td_user_pri; /* (t) User pri from estcpu and nice. */ | u_char td_user_pri; /* (t) User pri from estcpu and nice. */ | ||||
u_char td_base_user_pri; /* (t) Base user pri */ | u_char td_base_user_pri; /* (t) Base user pri */ | ||||
#define td_endcopy td_pcb | #define td_endcopy td_pcb | ||||
rwatson: Looks like indentation here might be wrong.
For consistency, "cached" -> "Cached". | |||||
/* | /* | ||||
* Fields that must be manually set in fork1() or create_thread() | * Fields that must be manually set in fork1() or create_thread() | ||||
* or already have been set in the allocator, constructor, etc. | * or already have been set in the allocator, constructor, etc. | ||||
*/ | */ | ||||
struct pcb *td_pcb; /* (k) Kernel VA of pcb and kstack. */ | struct pcb *td_pcb; /* (k) Kernel VA of pcb and kstack. */ | ||||
enum { | enum { | ||||
TDS_INACTIVE = 0x0, | TDS_INACTIVE = 0x0, | ||||
▲ Show 20 Lines • Show All 236 Lines • ▼ Show 20 Lines | #define p_startzero p_oppid | ||||
u_int p_lock; /* (c) Proclock (prevent swap) count. */ | u_int p_lock; /* (c) Proclock (prevent swap) count. */ | ||||
struct sigiolst p_sigiolst; /* (c) List of sigio sources. */ | struct sigiolst p_sigiolst; /* (c) List of sigio sources. */ | ||||
int p_sigparent; /* (c) Signal to parent on exit. */ | int p_sigparent; /* (c) Signal to parent on exit. */ | ||||
int p_sig; /* (n) For core dump/debugger XXX. */ | int p_sig; /* (n) For core dump/debugger XXX. */ | ||||
u_long p_code; /* (n) For core dump/debugger XXX. */ | u_long p_code; /* (n) For core dump/debugger XXX. */ | ||||
u_int p_stops; /* (c) Stop event bitmask. */ | u_int p_stops; /* (c) Stop event bitmask. */ | ||||
u_int p_stype; /* (c) Stop event type. */ | u_int p_stype; /* (c) Stop event type. */ | ||||
char p_step; /* (c) Process is stopped. */ | char p_step; /* (c) Process is stopped. */ | ||||
u_int p_pax; /* (b) PaX is enabled to this process */ | |||||
u_char p_pfsflags; /* (c) Procfs flags. */ | u_char p_pfsflags; /* (c) Procfs flags. */ | ||||
struct nlminfo *p_nlminfo; /* (?) Only used by/for lockd. */ | struct nlminfo *p_nlminfo; /* (?) Only used by/for lockd. */ | ||||
struct kaioinfo *p_aioinfo; /* (y) ASYNC I/O info. */ | struct kaioinfo *p_aioinfo; /* (y) ASYNC I/O info. */ | ||||
struct thread *p_singlethread;/* (c + j) If single threading this is it */ | struct thread *p_singlethread;/* (c + j) If single threading this is it */ | ||||
int p_suspcount; /* (j) Num threads in suspended mode. */ | int p_suspcount; /* (j) Num threads in suspended mode. */ | ||||
struct thread *p_xthread; /* (c) Trap thread */ | struct thread *p_xthread; /* (c) Trap thread */ | ||||
int p_boundary_count;/* (j) Num threads at user boundary */ | int p_boundary_count;/* (j) Num threads at user boundary */ | ||||
int p_pendingcnt; /* how many signals are pending */ | int p_pendingcnt; /* how many signals are pending */ | ||||
▲ Show 20 Lines • Show All 434 Lines • Show Last 20 Lines |
Looks like indentation here might be wrong.
For consistency, "cached" -> "Cached".