execv => execve; sklower changed copyin/out of 0 to work
[unix-history] / usr / src / sys / vax / include / reg.h
CommitLineData
a0c1547e 1/*
0880b18e 2 * Copyright (c) 1982, 1986 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 *
60be2728 6 * @(#)reg.h 7.2 (Berkeley) %G%
da7c5cc6
KM
7 */
8
0dc7e261 9/*
a0c1547e
BJ
10 * Location of the users' stored
11 * registers relative to R0.
12 * Usage is u.u_ar0[XX].
13 */
14#define R0 (-18)
15#define R1 (-17)
16#define R2 (-16)
17#define R3 (-15)
18#define R4 (-14)
19#define R5 (-13)
20#define R6 (-12)
21#define R7 (-11)
22#define R8 (-10)
23#define R9 (-9)
24#define R10 (-8)
25#define R11 (-7)
26#define R12 (-21)
27#define R13 (-20)
28
29#define AP (-21)
30#define FP (-20)
31#define SP (-5)
32#define PS (-1)
33#define PC (-2)
60be2728
MK
34
35#ifdef IPCREG
36#define NIPCREG 16
37int ipcreg[NIPCREG] =
38 {R0,R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,AP,FP,SP,PC};
39#endif