proc.h (92824) | proc.h (93264) |
---|---|
1/*- 2 * Copyright (c) 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)proc.h 8.15 (Berkeley) 5/19/95 | 1/*- 2 * Copyright (c) 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)proc.h 8.15 (Berkeley) 5/19/95 |
39 * $FreeBSD: head/sys/sys/proc.h 92824 2002-03-20 21:09:09Z jhb $ | 39 * $FreeBSD: head/sys/sys/proc.h 93264 2002-03-27 05:39:23Z dillon $ |
40 */ 41 42#ifndef _SYS_PROC_H_ 43#define _SYS_PROC_H_ 44 45#include <sys/callout.h> /* For struct callout. */ 46#include <sys/event.h> /* For struct klist. */ 47#include <sys/filedesc.h> --- 242 unchanged lines hidden (view full) --- 290 291 struct ucred *td_ucred; /* (k) Reference to credentials. */ 292 struct pcb *td_pcb; /* (k) Kernel VA of pcb and kstack. */ 293 struct callout td_slpcallout; /* (h) Callout for sleep. */ 294 struct trapframe *td_frame; /* (k) */ 295 struct vm_object *td_kstack_obj;/* (a) Kstack object. */ 296 vm_offset_t td_kstack; /* Kernel VA of kstack. */ 297 u_int td_critnest; /* (k) Critical section nest level. */ | 40 */ 41 42#ifndef _SYS_PROC_H_ 43#define _SYS_PROC_H_ 44 45#include <sys/callout.h> /* For struct callout. */ 46#include <sys/event.h> /* For struct klist. */ 47#include <sys/filedesc.h> --- 242 unchanged lines hidden (view full) --- 290 291 struct ucred *td_ucred; /* (k) Reference to credentials. */ 292 struct pcb *td_pcb; /* (k) Kernel VA of pcb and kstack. */ 293 struct callout td_slpcallout; /* (h) Callout for sleep. */ 294 struct trapframe *td_frame; /* (k) */ 295 struct vm_object *td_kstack_obj;/* (a) Kstack object. */ 296 vm_offset_t td_kstack; /* Kernel VA of kstack. */ 297 u_int td_critnest; /* (k) Critical section nest level. */ |
298 critical_t td_savecrit; /* (k) Saved critical section state. */ | |
299}; 300 301/* 302 * The schedulable entity that can be given a context to run. 303 * A process may have several of these. Probably one per processor 304 * but posibly a few more. In this universe they are grouped 305 * with a KSEG that contains the priority and niceness 306 * for the group. --- 466 unchanged lines hidden --- | 298}; 299 300/* 301 * The schedulable entity that can be given a context to run. 302 * A process may have several of these. Probably one per processor 303 * but posibly a few more. In this universe they are grouped 304 * with a KSEG that contains the priority and niceness 305 * for the group. --- 466 unchanged lines hidden --- |