(by sklower) /sys/net files included mtpr.h which was vax and tahoe
[unix-history] / usr / src / sys / vax / include / reg.h
CommitLineData
80992c50
KB
1/*-
2 * Copyright (c) 1982, 1986 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * %sccs.include.proprietary.c%
da7c5cc6 6 *
80992c50 7 * @(#)reg.h 7.3 (Berkeley) %G%
da7c5cc6
KM
8 */
9
0dc7e261 10/*
a0c1547e
BJ
11 * Location of the users' stored
12 * registers relative to R0.
13 * Usage is u.u_ar0[XX].
14 */
15#define R0 (-18)
16#define R1 (-17)
17#define R2 (-16)
18#define R3 (-15)
19#define R4 (-14)
20#define R5 (-13)
21#define R6 (-12)
22#define R7 (-11)
23#define R8 (-10)
24#define R9 (-9)
25#define R10 (-8)
26#define R11 (-7)
27#define R12 (-21)
28#define R13 (-20)
29
30#define AP (-21)
31#define FP (-20)
32#define SP (-5)
33#define PS (-1)
34#define PC (-2)
60be2728
MK
35
36#ifdef IPCREG
37#define NIPCREG 16
38int ipcreg[NIPCREG] =
39 {R0,R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,AP,FP,SP,PC};
40#endif