BSD 4_3_Reno release
[unix-history] / usr / src / sys / vax / mtpr.h
CommitLineData
da7c5cc6 1/*
9a0de372 2 * Copyright (c) 1982, 1986, 1988 Regents of the University of California.
da7c5cc6
KM
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 *
1c15e888 6 * @(#)mtpr.h 7.5 (Berkeley) 11/9/88
da7c5cc6 7 */
03f24a6b
BJ
8
9/*
10 * VAX processor register numbers
11 */
12
bbe0bf68
BJ
13#define KSP 0x0 /* kernel stack pointer */
14#define ESP 0x1 /* exec stack pointer */
15#define SSP 0x2 /* supervisor stack pointer */
16#define USP 0x3 /* user stack pointer */
17#define ISP 0x4 /* interrupt stack pointer */
18#define P0BR 0x8 /* p0 base register */
19#define P0LR 0x9 /* p0 length register */
20#define P1BR 0xa /* p1 base register */
21#define P1LR 0xb /* p1 length register */
22#define SBR 0xc /* system segment base register */
23#define SLR 0xd /* system segment length register */
24#define PCBB 0x10 /* process control block base */
25#define SCBB 0x11 /* system control block base */
26#define IPL 0x12 /* interrupt priority level */
27#define ASTLVL 0x13 /* async. system trap level */
28#define SIRR 0x14 /* software interrupt request */
29#define SISR 0x15 /* software interrupt summary */
9a0de372
MK
30#if VAX8200
31#define IPIR 0x16 /* interprocessor interrupt register */
32#endif
33#if VAX750 || VAX730
34#define MCSR 0x17 /* machine check status register */
35#endif
bbe0bf68
BJ
36#define ICCS 0x18 /* interval clock control */
37#define NICR 0x19 /* next interval count */
38#define ICR 0x1a /* interval count */
802ae52e 39#if VAX8600 || VAX8200 || VAX780 || VAX750 || VAX730 || VAX650
bbe0bf68 40#define TODR 0x1b /* time of year (day) */
9a0de372
MK
41#endif
42#if VAX750 || VAX730
43#define CSRS 0x1c /* console storage receive status register */
44#define CSRD 0x1d /* console storage receive data register */
45#define CSTS 0x1e /* console storage transmit status register */
46#define CSTD 0x1f /* console storage transmit data register */
47#endif
bbe0bf68
BJ
48#define RXCS 0x20 /* console receiver control and status */
49#define RXDB 0x21 /* console receiver data buffer */
50#define TXCS 0x22 /* console transmitter control and status */
51#define TXDB 0x23 /* console transmitter data buffer */
802ae52e 52#if VAX8200 || VAX750 || VAX730 || VAX650
9a0de372
MK
53#define TBDR 0x24 /* translation buffer disable register */
54#define CADR 0x25 /* cache disable register */
dd70a7d6
TF
55#endif
56#if VAX8200 || VAX750 || VAX730
9a0de372
MK
57#define MCESR 0x26 /* machine check error summary register */
58#endif
802ae52e 59#if VAX750 || VAX730 || VAX650
9a0de372
MK
60#define CAER 0x27 /* cache error */
61#endif
62#define ACCS 0x28 /* accelerator control and status */
63#if VAX780
64#define ACCR 0x29 /* accelerator maintenance */
65#endif
66#if VAX8200 || VAX780
67#define WCSA 0x2c /* WCS address */
68#define WCSD 0x2d /* WCS data */
69#endif
70#if VAX8200
71#define WCSL 0x2e /* WCS load */
72#endif
73#if VAX8600 || VAX780
74#define SBIFS 0x30 /* SBI fault and status */
75#define SBIS 0x31 /* SBI silo */
76#define SBISC 0x32 /* SBI silo comparator */
77#define SBIMT 0x33 /* SBI maintenance */
78#define SBIER 0x34 /* SBI error register */
79#define SBITA 0x35 /* SBI timeout address */
80#define SBIQC 0x36 /* SBI quadword clear */
81#endif
802ae52e
TF
82#if VAX750 || VAX730 || VAX630 || VAX650
83#define IUR 0x37 /* init unibus (Qbus on 6x0) register */
9a0de372 84#endif
bbe0bf68
BJ
85#define MAPEN 0x38 /* memory management enable */
86#define TBIA 0x39 /* translation buffer invalidate all */
87#define TBIS 0x3a /* translation buffer invalidate single */
9a0de372
MK
88#if VAX750 || VAX730
89#define TB 0x3b /* translation buffer */
90#endif
91#if VAX780
92#define MBRK 0x3c /* micro-program breakpoint */
93#endif
bbe0bf68
BJ
94#define PMR 0x3d /* performance monitor enable */
95#define SID 0x3e /* system identification */
802ae52e 96#if VAX8600 || VAX8200 || VAX650
6692a5c8 97#define TBCHK 0x3f /* Translation Buffer Check */
9a0de372
MK
98#endif
99#if VAX8600
6692a5c8
JB
100#define PAMACC 0x40 /* PAMM access */
101#define PAMLOC 0x41 /* PAMM location */
102#define CSWP 0x42 /* Cache sweep */
103#define MDECC 0x43 /* MBOX data ecc register */
104#define MENA 0x44 /* MBOX error enable register */
105#define MDCTL 0x45 /* MBOX data control register */
106#define MCCTL 0x46 /* MBOX mcc control register */
107#define MERG 0x47 /* MBOX error generator register */
108#define CRBT 0x48 /* Console reboot */
109#define DFI 0x49 /* Diag fault insertion register */
110#define EHSR 0x4a /* Error handling status register */
111#define STXCS 0x4c /* Console block storage C/S */
112#define STXDB 0x4d /* Console block storage D/B */
113#define ESPA 0x4e /* EBOX scratchpad address */
114#define ESPD 0x4f /* EBOX sratchpad data */
115#endif
9a0de372
MK
116#if VAX8200
117#define RXCS1 0x50 /* receive csr, console line 1 */
118#define RXDB1 0x51 /* receive data buffer, console line 1 */
119#define TXCS1 0x52 /* transmit csr, console line 1 */
120#define TXDB1 0x53 /* transmit data buffer, console line 1 */
121#define RXCS2 0x54 /* etc */
122#define RXDB2 0x55
123#define TXCS2 0x56
124#define TXDB2 0x57
125#define RXCS3 0x58
126#define RXDB3 0x59
127#define TXCS3 0x5a
128#define TXDB3 0x5b
129#define RXCD 0x5c /* receive console data register */
130#define CACHEX 0x5d /* cache invalidate register */
131#define BINID 0x5e /* VAXBI node ID register */
132#define BISTOP 0x5f /* VAXBI stop register */
03d3d455 133#endif