1: /*
2: * Copyright (c) 1987 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: *
6: * @(#)mch_iopage.h 1.1 (2.10BSD Berkeley) 6/12/88
7: */
8:
9: /*
10: * Access abilities (from seg.h)
11: */
12: #define RO 02 /* Read only */
13: #define RW 06 /* Read and write */
14:
15: #define SSR3 0172516 /* Memory Management register 3 */
16: #define CCSR 0172540 /* KW11-P Control/Status Register */
17: #define CCSB 0172542 /* KW11-P Counter Set Buffer */
18: #define SSR0 0177572 /* Memory Management register 0 */
19: #define SSR1 0177574 /* Memory Management register 1 */
20: #define SSR2 0177576 /* Memory Management register 2 */
21:
22: #define STACKLIM 0177774 /* Stack Limit register */
23: #define PS 0177776 /* Processor Status register */
24: #define PIR 0177772 /* Program Interrupt Request register */
25:
26: /*
27: * ENABLE/34 registers
28: *
29: * All information relevant to the ENABLE/34 is supplied with
30: * the permission of ABLE Computer and may not be disclosed in
31: * any manner to sites not licensed by the University of California
32: * for the Second Berkeley Software Distribution.
33: *
34: */
35: #ifdef ENABLE34
36: # define ENABLE_UISA 0163720
37: # define DEC_UISA 0177640
38: # ifdef NONSEPARATE
39: # define ENABLE_UDSA ENABLE_UISA
40: # define DEC_UDSA DEC_UISA
41: # else
42: # define ENABLE_UDSA 0163740
43: # define DEC_UDSA 0177660
44: # endif NONSEPARATE
45: # define ENABLE_KISA0 0163700
46: # define ENABLE_KISA6 0163714
47: # define DEC_KISA0 0172340
48: # define DEC_KISA6 0172354
49: # ifdef KERN_NONSEP
50: # define ENABLE_KDSA1 0163702
51: # define ENABLE_KDSA2 0163704
52: # define ENABLE_KDSA5 0163712
53: # define ENABLE_KDSA6 0163714
54: # define DEC_KDSA1 0172342
55: # define DEC_KDSA2 0172344
56: # define DEC_KDSA5 0172352
57: # define DEC_KDSA6 0172354
58: # else
59: # define ENABLE_KDSA1 0163762
60: # define ENABLE_KDSA2 0163764
61: # define ENABLE_KDSA5 0163772
62: # define ENABLE_KDSA6 0163774
63: # define DEC_KDSA1 0172362
64: # define DEC_KDSA2 0172364
65: # define DEC_KDSA5 0172372
66: # define DEC_KDSA6 0172374
67: # endif KERN_NONSEP
68: # define ENABLE_SSR4 0163674
69: # define ENABLE_SSR3 0163676
70: #endif ENABLE34
71:
72: /*
73: * Supervisor segmentation registers:
74: * SISD: Supervisor Instruction Space Descriptors registers
75: * SDSD: Supervisor Data Space Descriptors registers
76: * SISA: Supervisor Instruction Space Address registers
77: * SDSA: Supervisor Data Space Address registers
78: */
79: #define SISD0 0172200
80: #define SISD1 0172202
81: #define SISD2 0172204
82: #define SISD3 0172206
83: #define SISD4 0172210
84: #define SISD5 0172212
85: #define SISD6 0172214
86: #define SISD7 0172216
87:
88: #define SDSD0 0172220
89: #define SDSD1 0172222
90: #define SDSD2 0172224
91: #define SDSD3 0172226
92: #define SDSD4 0172230
93: #define SDSD5 0172232
94: #define SDSD6 0172234
95: #define SDSD7 0172236
96:
97: #define SISA0 0172240
98: #define SISA1 0172242
99: #define SISA2 0172244
100: #define SISA3 0172246
101: #define SISA4 0172250
102: #define SISA5 0172252
103: #define SISA6 0172254
104: #define SISA7 0172256
105:
106: #define SDSA0 0172260
107: #define SDSA1 0172262
108: #define SDSA2 0172264
109: #define SDSA3 0172266
110: #define SDSA4 0172270
111: #define SDSA5 0172272
112: #define SDSA6 0172274
113: #define SDSA7 0172276
114:
115: /*
116: * Kernel segmentation registers:
117: * KISD: Kernel Instruction Space Descriptors registers
118: * KDSD: Kernel Data Space Descriptors registers
119: * KISA: Kernel Instruction Space Address registers
120: * KDSA: Kernel Data Space Address registers
121: */
122: #define KISD0 0172300
123: #define KISD1 0172302
124: #define KISD2 0172304
125: #define KISD4 0172310
126: #define KISD5 0172312
127: #define KISD6 0172314
128: #define KISD7 0172316
129:
130: #ifdef KERN_NONSEP
131: # define KDSD0 KISD0
132: # define KDSD5 KISD5
133: # define KDSD6 KISD6
134: # define KDSD7 KISD7
135: #else
136: # define KDSD0 0172320
137: # define KDSD5 0172332
138: # define KDSD6 0172334
139: # define KDSD7 0172336
140: #endif
141:
142: #ifdef ENABLE34
143: # define KISA0 *_KISA0
144: #else
145: # define KISA0 0172340
146: #endif
147: #define KISA1 0172342
148: #define KISA2 0172344
149: #define KISA4 0172350
150: #define KISA5 0172352
151: #ifdef ENABLE34
152: # define KISA6 *_KISA6
153: #else
154: # define KISA6 0172354
155: #endif
156: #define KISA7 0172356
157:
158: #ifdef KERN_NONSEP
159: # define KDSA0 KISA0
160: # ifdef ENABLE34
161: # define KDSA1 *_KDSA1
162: # define KDSA2 *_KDSA2
163: # define KDSA5 *_KDSA5
164: # define KDSA6 *_KDSA6
165: # else
166: # define KDSA1 KISA1
167: # define KDSA2 KISA2
168: # define KDSA5 KISA5
169: # define KDSA6 KISA6
170: # endif
171: # define KDSA7 KISA7
172: #else KERN_NONSEP
173: # define KDSA0 0172360
174: # ifdef ENABLE34
175: # define KDSA1 *_KDSA1
176: # define KDSA2 *_KDSA2
177: # define KDSA5 *_KDSA5
178: # define KDSA6 *_KDSA6
179: # else
180: # define KDSA1 0172362
181: # define KDSA2 0172364
182: # define KDSA5 0172372
183: # define KDSA6 0172374
184: # endif
185: # define KDSA7 0172376
186: #endif KERN_NONSEP
187:
188: /*
189: * User segmentation registers:
190: * UISD: User Instruction Space Descriptors registers
191: * UDSD: User Data Space Descriptors registers
192: * UISA: User Instruction Space Address registers
193: * UDSA: User Data Space Address registers
194: */
195: #ifdef ENABLE34
196: # define UISA *_UISA
197: # define UDSA *_UDSA
198: #else
199: # define UISA 0177640
200: # define UDSA 0177660
201: #endif
Defined macros
CCSB
defined in line
17;
never used
CCSR
defined in line
16;
never used
KDSA5
defined in line
182; used 22 times
- in /usr/src/sys/pdp/mch_click.s line
31-35(2),
53,
63,
79-81(2),
95-99(2),
140,
157,
167
- in /usr/src/sys/pdp/mch_dump.s line
28,
63
- in /usr/src/sys/pdp/mch_dzpdma.s line
48-50(2),
74
- in /usr/src/sys/pdp/mch_xxx.s line
330,
397,
441,
467,
476,
494
KDSA6
defined in line
183; used 21 times
KDSD5
defined in line
137; used 18 times
- in /usr/src/sys/pdp/mch_click.s line
32-36(2),
62,
80-82(2),
98,
141,
158,
166
- in /usr/src/sys/pdp/mch_dzpdma.s line
49-51(2),
73
- in /usr/src/sys/pdp/mch_xxx.s line
329,
398,
440,
466,
475,
493
KDSD6
defined in line
138; used 12 times
PIR
defined in line
24;
never used
PS
defined in line
23; used 94 times
- in /usr/src/lib/libc/pdp/crt/csv.s line
155,
161,
286,
292
- in /usr/src/sys/pdp/mch_KScall.s line
25,
45,
70,
103
- in /usr/src/sys/pdp/mch_click.s line
25,
65,
135,
168
- in /usr/src/sys/pdp/mch_copy.s line
295-299(3),
312-316(3)
- in /usr/src/sys/pdp/mch_csv.s line
155,
161,
286,
292
- in /usr/src/sys/pdp/mch_dump.s line
55-62(4)
- in /usr/src/sys/pdp/mch_dzpdma.s line
29
- in /usr/src/sys/pdp/mch_start.s line
42-46(3),
89
- in /usr/src/sys/pdp/mch_trap.s line
62,
72,
80,
98,
161-164(3),
178-179(2),
202-203(2),
232
- in /usr/src/sys/pdp/mch_xxx.s line
62,
75,
123-124(2),
136,
159-163(3)
- in /usr/src/sys/pdp/net_SKcall.s line
24,
52,
64,
97,
141-142(2),
179
- in /usr/src/sys/pdp/net_copy.s line
84-89(3),
106-108(2),
157-163(3),
186-188(2),
221-222(2),
232,
249-250(2),
260,
275-279(3),
292-296(3)
- in /usr/src/sys/pdp/net_csv.s line
155,
161,
286,
292
- in /usr/src/sys/pdp/net_mbuf.s line
39,
52,
71
- in /usr/src/sys/pdp/net_trap.s line
23,
40-41(2),
59
- in /usr/src/sys/pdp/net_xxx.s line
53-54(2),
70
RO
defined in line
12; used 4 times
RW
defined in line
13; used 9 times
SDSD0
defined in line
88;
never used
SDSD1
defined in line
89;
never used
SDSD2
defined in line
90;
never used
SDSD3
defined in line
91;
never used
SDSD4
defined in line
92;
never used
SDSD5
defined in line
93;
never used
SDSD6
defined in line
94; used 1 times
SDSD7
defined in line
95; used 1 times
SISA0
defined in line
97;
never used
SISA1
defined in line
98;
never used
SISA2
defined in line
99;
never used
SISD0
defined in line
79;
never used
SISD1
defined in line
80;
never used
SISD2
defined in line
81;
never used
SISD3
defined in line
82;
never used
SISD4
defined in line
83;
never used
SISD5
defined in line
84;
never used
SISD6
defined in line
85;
never used
SISD7
defined in line
86;
never used
SSR0
defined in line
18; used 7 times
SSR1
defined in line
19; used 1 times
SSR2
defined in line
20; used 1 times
SSR3
defined in line
15; used 6 times
UDSA
defined in line
200;
never used
UISA
defined in line
199;
never used
Usage of this include