* Copyright (c) 1982, 1986 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
* @(#)systm.h 7.3 (Berkeley) %G%
* Random set of variables
extern char version
[]; /* system version */
* Nblkdev is the number of entries
* (rows) in the block switch. It is
* set in binit/bio.c by making
* a pass over the switch.
* Used in bounds checking on major
* Number of character switch entries.
int nswdev
; /* number of swap devices */
int mpid
; /* generic for unique process id's */
char runin
; /* scheduling flag */
char runout
; /* scheduling flag */
int runrun
; /* scheduling flag */
char kmapwnt
; /* kernel map want flag */
char curpri
; /* more scheduling */
int maxmem
; /* actual max memory per process */
int physmem
; /* physical memory on this CPU */
int nswap
; /* size of swap space */
int updlock
; /* lock for sync */
daddr_t rablock
; /* block to be read ahead */
int rasize
; /* size of block in rablock */
extern int intstack
[]; /* stack for interrupts */
dev_t rootdev
; /* device of the root */
dev_t dumpdev
; /* device to take dumps on */
long dumplo
; /* offset into dumpdev */
dev_t swapdev
; /* swapping device */
dev_t argdev
; /* device for argument lists */
#if defined(vax) || defined(tahoe)
extern int icode
[]; /* user init code */
extern int szicode
; /* its size */
* Structure of the system-entry table
int sy_narg
; /* total number of arguments */
int (*sy_call
)(); /* handler */
int noproc
; /* no one is running just now */
int boothowto
; /* reboot flags, from console subsystem */
char *bootesym
; /* end of symbol info from boot */
extern char vmmap
[]; /* poor name! */
/* casts to keep lint happy */
#define insque(q,p) _insque((caddr_t)q,(caddr_t)p)
#define remque(q) _remque((caddr_t)q)