|
|
1.1 root 1: /* $Header: /newbits/kernel/USRSRC/coh/RCS/var.c,v 1.4 91/07/24 07:52:52 bin Exp Locker: bin $ */
2: /* (lgl-
3: * The information contained herein is a trade secret of Mark Williams
4: * Company, and is confidential information. It is provided under a
5: * license agreement, and may be copied or disclosed only under the
6: * terms of that agreement. Any reproduction or disclosure of this
7: * material without the express written authorization of Mark Williams
8: * Company or persuant to the license agreement is unlawful.
9: *
10: * COHERENT Version 2.3.37
11: * Copyright (c) 1982, 1983, 1984.
12: * An unpublished work by Mark Williams Company, Chicago.
13: * All rights reserved.
14: -lgl) */
15: /*
16: * Coherent.
17: * Variables.
18: *
19: * $Log: var.c,v $
20: * Revision 1.4 91/07/24 07:52:52 bin
21: * update prov by hal
22: *
23: *
24: * Revision 1.2 89/08/01 13:57:35 src
25: * Bug: #include <timeout.h> not accurate; timeout.h now in /usr/include/sys.
26: * Fix: #include <sys/timeout.h> now used. (ABC)
27: *
28: * Revision 1.1 88/03/24 08:14:41 src
29: * Initial revision
30: *
31: * 88/01/23 Allan Cornish /usr/src/sys/coh/var.c
32: * Default NSLOT increased from 10 to 64.
33: *
34: * 87/11/22 Allan Cornish /usr/src/sys/coh/var.c
35: * Holebot/holetop variables added to support extended memory.
36: *
37: * 87/11/14 Allan Cornish /usr/src/sys/coh/var.c
38: * Init code+data now split into icodep/icodes and idatap/idatas.
39: *
40: * 87/11/12 Allan Cornish /usr/src/sys/coh/var.c
41: * Corebot/coretop now paddr_t rather than saddr_t to support protected mode.
42: *
43: * 87/10/05 Allan Cornish /usrs/rc/sys/coh/var.c
44: * NSLOT, slotsz, and slotp variables added - loadable driver specific.
45: *
46: * 87/07/07 Allan Cornish /usr/src/sys/coh/var.c
47: * Lbolt variable added - clock ticks since startup - incremented by stand().
48: * Timl variable replaced with timq variable.
49: *
50: * 87/02/01 Allan Cornish /usr/src/sys/coh/var.c
51: * ISTSIZE [stack size] changed from a define in /usr/include/sys/const.h to a
52: * extern int in /usr/include/sys/param.h, with 4 Kbyte default set in var.c
53: */
54: #include <sys/coherent.h>
55: #include <sys/buf.h>
56: #include <sys/con.h>
57: #include <sys/inode.h>
58: #include <sys/mount.h>
59: #include <sys/proc.h>
60: #include <sys/ptrace.h>
61: #include <sys/seg.h>
62:
63: int debflag = 0; /* coherent.h */
64:
65: int batflag; /* coherent.h */
66: int outflag; /* coherent.h */
67: int ttyflag; /* coherent.h */
68: unsigned utimer; /* coherent.h */
69: long lbolt; /* coherent.h */
70: TIM stimer; /* coherent.h */
71: unsigned msize; /* coherent.h */
72: unsigned asize; /* coherent.h */
73: char *icodep; /* coherent.h */
74: int icodes; /* coherent.h */
75: char *idatap; /* coherent.h */
76: int idatas; /* coherent.h */
77: paddr_t corebot; /* coherent.h */
78: paddr_t coretop; /* coherent.h */
79: paddr_t holebot; /* coherent.h */
80: paddr_t holetop; /* coherent.h */
81: paddr_t blockp; /* coherent.h */
82: paddr_t clistp; /* coherent.h */
83: struct all *allkp; /* coherent.h */
84: int NSLOT = 64; /* coherent.h */
85: int slotsz = 64; /* coherent.h */
86: int * slotp; /* coherent.h */
87:
88: unsigned bufseqn; /* buf.h */
89: int bufneed; /* buf.h */
90: BUF swapbuf; /* buf.h */
91: BUF *bufl; /* buf.h */
92:
93: int cltwant; /* clist.h */
94: cmap_t cltfree; /* clist.h */
95:
96: INODE *inodep; /* inode.h */
97: INODE *acctip; /* inode.h */
98:
99: MOUNT *mountp; /* mount.h */
100:
101: int ISTSIZE = 4096; /* sys/param.h */
102:
103: int quantum; /* proc.h */
104: int disflag; /* proc.h */
105: int intflag; /* proc.h */
106: int cpid; /* proc.h */
107: #ifdef QWAKEUP
108: int ntowake; /* proc.h */
109: #endif
110: GATE pnxgate; /* proc.h */
111: PROC procq; /* proc.h */
112: PROC *iprocp; /* proc.h */
113: PROC *eprocp; /* proc.h */
114: PROC *cprocp; /* proc.h */
115: PLINK linkq[NHPLINK]; /* proc.h */
116:
117: struct ptrace pts; /* ptrace.h */
118:
119: int sexflag; /* seg.h */
120: GATE seglink; /* seg.h */
121: #ifndef NOMONITOR
122: int swmflag; /* seg.h */
123: #endif
124: SEG segswap; /* seg.h */
125: SEG segmq; /* seg.h */
126: SEG segdq; /* seg.h */
127: SEG segiom; /* seg.h */
128:
129: TIM * timq[256]; /* timeout.h */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.