Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/proc.h
Show First 20 Lines • Show All 282 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 */ | ||||
uint32_t td_pax; /* (b) cached PaX settings from process */ | |||||
rwatson: Looks like indentation here might be wrong.
For consistency, "cached" -> "Cached". | |||||
#define td_endcopy td_pcb | #define td_endcopy td_pcb | ||||
/* | /* | ||||
* 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 { | ||||
▲ Show 20 Lines • Show All 274 Lines • ▼ Show 20 Lines | #define p_startcopy p_endzero | ||||
struct sysentvec *p_sysent; /* (b) Syscall dispatch info. */ | struct sysentvec *p_sysent; /* (b) Syscall dispatch info. */ | ||||
struct pargs *p_args; /* (c) Process arguments. */ | struct pargs *p_args; /* (c) Process arguments. */ | ||||
rlim_t p_cpulimit; /* (c) Current CPU limit in seconds. */ | rlim_t p_cpulimit; /* (c) Current CPU limit in seconds. */ | ||||
signed char p_nice; /* (c) Process "nice" value. */ | signed char p_nice; /* (c) Process "nice" value. */ | ||||
int p_fibnum; /* in this routing domain XXX MRT */ | int p_fibnum; /* in this routing domain XXX MRT */ | ||||
pid_t p_reapsubtree; /* (e) Pid of the direct child of the | pid_t p_reapsubtree; /* (e) Pid of the direct child of the | ||||
reaper which spawned | reaper which spawned | ||||
our subtree. */ | our subtree. */ | ||||
u_int p_pax; /* (b) PaX is enabled to this process */ | |||||
u_int p_paxdebug; /* (b) PaX flags set via PTrace */ | |||||
/* End area that is copied on creation. */ | /* End area that is copied on creation. */ | ||||
#define p_endcopy p_xstat | #define p_endcopy p_xstat | ||||
u_short p_xstat; /* (c) Exit status; also stop sig. */ | u_short p_xstat; /* (c) Exit status; also stop sig. */ | ||||
struct knlist p_klist; /* (c) Knotes attached to this proc. */ | struct knlist p_klist; /* (c) Knotes attached to this proc. */ | ||||
int p_numthreads; /* (c) Number of threads. */ | int p_numthreads; /* (c) Number of threads. */ | ||||
struct mdproc p_md; /* Any machine-dependent fields. */ | struct mdproc p_md; /* Any machine-dependent fields. */ | ||||
struct callout p_itcallout; /* (h + c) Interval timer callout. */ | struct callout p_itcallout; /* (h + c) Interval timer callout. */ | ||||
▲ Show 20 Lines • Show All 434 Lines • Show Last 20 Lines |
Looks like indentation here might be wrong.
For consistency, "cached" -> "Cached".