xref: /freebsd/cddl/contrib/opensolaris/lib/libdtrace/sparc/regs.d (revision b0d29bc47dba79f6f38e67eabadfb4b32ffd9390)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*
23  * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
24  * Use is subject to license terms.
25  */
26 
27 #pragma ident	"%Z%%M%	%I%	%E% SMI"
28 
29 inline int R_G0	= 0;
30 #pragma D binding "1.0" R_G0
31 inline int R_G1	= 1;
32 #pragma D binding "1.0" R_G1
33 inline int R_G2	= 2;
34 #pragma D binding "1.0" R_G2
35 inline int R_G3	= 3;
36 #pragma D binding "1.0" R_G3
37 inline int R_G4	= 4;
38 #pragma D binding "1.0" R_G4
39 inline int R_G5	= 5;
40 #pragma D binding "1.0" R_G5
41 inline int R_G6	= 6;
42 #pragma D binding "1.0" R_G6
43 inline int R_G7	= 7;
44 #pragma D binding "1.0" R_G7
45 
46 inline int R_O0	= 8;
47 #pragma D binding "1.0" R_O0
48 inline int R_O1	= 9;
49 #pragma D binding "1.0" R_O1
50 inline int R_O2	= 10;
51 #pragma D binding "1.0" R_O2
52 inline int R_O3	= 11;
53 #pragma D binding "1.0" R_O3
54 inline int R_O4	= 12;
55 #pragma D binding "1.0" R_O4
56 inline int R_O5	= 13;
57 #pragma D binding "1.0" R_O5
58 inline int R_O6	= 14;
59 #pragma D binding "1.0" R_O6
60 inline int R_O7	= 15;
61 #pragma D binding "1.0" R_O7
62 
63 inline int R_L0	= 16;
64 #pragma D binding "1.0" R_L0
65 inline int R_L1	= 17;
66 #pragma D binding "1.0" R_L1
67 inline int R_L2	= 18;
68 #pragma D binding "1.0" R_L2
69 inline int R_L3	= 19;
70 #pragma D binding "1.0" R_L3
71 inline int R_L4	= 20;
72 #pragma D binding "1.0" R_L4
73 inline int R_L5	= 21;
74 #pragma D binding "1.0" R_L5
75 inline int R_L6	= 22;
76 #pragma D binding "1.0" R_L6
77 inline int R_L7	= 23;
78 #pragma D binding "1.0" R_L7
79 
80 inline int R_I0	= 24;
81 #pragma D binding "1.0" R_I0
82 inline int R_I1	= 25;
83 #pragma D binding "1.0" R_I1
84 inline int R_I2	= 26;
85 #pragma D binding "1.0" R_I2
86 inline int R_I3	= 27;
87 #pragma D binding "1.0" R_I3
88 inline int R_I4	= 28;
89 #pragma D binding "1.0" R_I4
90 inline int R_I5	= 29;
91 #pragma D binding "1.0" R_I5
92 inline int R_I6	= 30;
93 #pragma D binding "1.0" R_I6
94 inline int R_I7	= 31;
95 #pragma D binding "1.0" R_I7
96 
97 inline int R_CCR = 32;
98 #pragma D binding "1.0" R_CCR
99 inline int R_PC = 33;
100 #pragma D binding "1.0" R_PC
101 inline int R_nPC = 34;
102 #pragma D binding "1.0" R_nPC
103 inline int R_NPC = R_nPC;
104 #pragma D binding "1.0" R_NPC
105 inline int R_Y = 35;
106 #pragma D binding "1.0" R_Y
107 inline int R_ASI = 36;
108 #pragma D binding "1.0" R_ASI
109 inline int R_FPRS = 37;
110 #pragma D binding "1.0" R_FPRS
111 inline int R_PS = R_CCR;
112 #pragma D binding "1.0" R_PS
113 inline int R_SP = R_O6;
114 #pragma D binding "1.0" R_SP
115 inline int R_FP = R_I6;
116 #pragma D binding "1.0" R_FP
117 inline int R_R0 = R_O0;
118 #pragma D binding "1.0" R_R0
119 inline int R_R1 = R_O1;
120 #pragma D binding "1.0" R_R1
121