proc.h (58717) | proc.h (58755) |
---|---|
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 58717 2000-03-28 07:16:37Z dillon $ | 39 * $FreeBSD: head/sys/sys/proc.h 58755 2000-03-28 18:06:49Z dillon $ |
40 */ 41 42#ifndef _SYS_PROC_H_ 43#define _SYS_PROC_H_ 44 45#include <machine/proc.h> /* Machine-dependent proc substruct. */ 46#include <sys/callout.h> /* For struct callout_handle. */ 47#include <sys/filedesc.h> --- 319 unchanged lines hidden (view full) --- 367extern u_long pgrphash; 368 369#ifndef SET_CURPROC 370#define SET_CURPROC(p) (curproc = (p)) 371#endif 372 373#ifndef curproc 374extern struct proc *curproc; /* Current running proc. */ | 40 */ 41 42#ifndef _SYS_PROC_H_ 43#define _SYS_PROC_H_ 44 45#include <machine/proc.h> /* Machine-dependent proc substruct. */ 46#include <sys/callout.h> /* For struct callout_handle. */ 47#include <sys/filedesc.h> --- 319 unchanged lines hidden (view full) --- 367extern u_long pgrphash; 368 369#ifndef SET_CURPROC 370#define SET_CURPROC(p) (curproc = (p)) 371#endif 372 373#ifndef curproc 374extern struct proc *curproc; /* Current running proc. */ |
375extern u_int astpending; /* software interrupt pending */ |
|
375extern int switchticks; /* `ticks' at last context switch. */ 376extern struct timeval switchtime; /* Uptime at last context switch */ 377#endif 378extern struct proc proc0; /* Process slot for swapper. */ 379extern int hogticks; /* Limit on kernel cpu hogs. */ 380extern int nprocs, maxproc; /* Current and max number of procs. */ 381extern int maxprocperuid; /* Max procs per uid. */ 382extern int sched_quantum; /* Scheduling quantum in ticks */ --- 75 unchanged lines hidden --- | 376extern int switchticks; /* `ticks' at last context switch. */ 377extern struct timeval switchtime; /* Uptime at last context switch */ 378#endif 379extern struct proc proc0; /* Process slot for swapper. */ 380extern int hogticks; /* Limit on kernel cpu hogs. */ 381extern int nprocs, maxproc; /* Current and max number of procs. */ 382extern int maxprocperuid; /* Max procs per uid. */ 383extern int sched_quantum; /* Scheduling quantum in ticks */ --- 75 unchanged lines hidden --- |