|
|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T U s
Length: 2149 (0x865)
Types: TextFile
Notes: UNIX file
Names: »systm.h«
└─⟦22cab2c1b⟧ Bits:30004042/kcaddon.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦22cab2c1b⟧ UNIX Filesystem
└─⟦this⟧ »KC/new/usr/include/sys/systm.h«
/* Copyright (c) 1984 AT&T */
/* All Rights Reserved */
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
/* The copyright notice above does not evidence any */
/* actual or intended publication of such source code. */
/* 87.08.17 trace hook included */
#ident "@(#)systm.h 1.5 - 87/04/14 rc 1.0 87/08/17"
/*
* Random set of variables used by more than one routine.
*/
extern struct inode *rootdir; /* pointer to inode of root directory */
extern short cputype; /* type of cpu = 40, 45, 70, 780, 0x3b5 */
extern time_t lbolt; /* time in HZ since last boot */
extern time_t time; /* time in sec from 1970 */
extern char runin; /* scheduling flag */
extern char runout; /* scheduling flag */
extern char runrun; /* scheduling flag */
extern char curpri; /* current priority */
extern struct proc *curproc; /* current proc */
extern struct proc *oldproc; /* previous proc that exited */
extern struct proc *runq; /* head of linked list of running processes */
extern maxmem; /* max available memory (clicks) */
extern physmem; /* physical memory (clicks) on this CPU */
extern maxclick; /* Highest physical click + 1. */
extern daddr_t swplo; /* block number of start of swap space */
extern nswap; /* size of swap space in blocks*/
extern dev_t rootdev; /* device of the root */
extern dev_t swapdev; /* swapping device */
extern dev_t pipedev; /* pipe device */
extern dev_t dumpdev; /* dump device */
extern char *panicstr; /* panic string pointer */
extern blkacty; /* active block devices */
extern pwr_cnt, pwr_act;
extern int (*pwr_clr[])();
dev_t getmdev();
struct inode *iget();
struct inode *namei();
struct inode *remote_call();
struct buf *getblk();
struct buf *geteblk();
struct buf *bread();
struct buf *breada();
struct file *falloc();
int upath();
/*
* Structure of the system-entry table
*/
extern struct sysent {
char sy_narg; /* total number of arguments */
char sy_setjmp; /* set to 1 if systrap() should not do a setjmp() */
unchar sy_tmask; /* trace mask */
int (*sy_call)(); /* handler */
} sysent[];
extern int nsysent; /* number of valid entries in sysent */