1: /*
2: * Copyright (c) 1982, 1986 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: * @(#)reg.h 7.1 (Berkeley) 6/5/86
7: */
8:
9: /*
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)
Defined macros
AP
defined in line
29; used 5 times
FP
defined in line
30; used 6 times
PC
defined in line
33; used 10 times
PS
defined in line
32; used 20 times
- in /usr/src/sys/sys/kern_exit.c line
189
- in /usr/src/sys/sys/kern_xxx.c line
287
- in /usr/src/sys/sys/sys_process.c line
170,
189
- in /usr/src/sys/vax/machdep.c line
382-384(2),
425,
471(2),
477-480(3)
- in /usr/src/sys/vax/trap.c line
63,
69,
131,
187,
196,
224,
258-262(2)
R0
defined in line
14; used 6 times
R1
defined in line
15; used 5 times
R10
defined in line
24; used 1 times
R11
defined in line
25; used 1 times
R12
defined in line
26;
never used
R13
defined in line
27;
never used
R2
defined in line
16; used 1 times
R3
defined in line
17; used 1 times
R4
defined in line
18; used 1 times
R5
defined in line
19; used 1 times
R6
defined in line
20; used 1 times
R7
defined in line
21; used 1 times
R8
defined in line
22; used 1 times
R9
defined in line
23; used 1 times
SP
defined in line
31; used 10 times
Usage of this include