xref: /freebsd/sys/cddl/dev/dtrace/aarch64/regset.h (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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 /*
24  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
25  * Use is subject to license terms.
26  */
27 
28 /*	Copyright (c) 1990, 1991 UNIX System Laboratories, Inc. */
29 
30 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T		*/
31 /*	All Rights Reserved	*/
32 
33 #ifndef	_REGSET_H
34 #define	_REGSET_H
35 
36 /*
37  */
38 
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 
43 #define REG_X0		0
44 #define REG_X1		1
45 #define REG_X2		2
46 #define REG_X3		3
47 #define REG_X4		4
48 #define REG_X5		5
49 #define REG_X6		6
50 #define REG_X7		7
51 #define REG_X8		8
52 #define REG_X9		9
53 #define REG_X10		10
54 #define REG_X11		11
55 #define REG_X12		12
56 #define REG_X13		13
57 #define REG_X14		14
58 #define REG_X15		15
59 #define REG_X16		16
60 #define REG_X17		17
61 #define REG_X18		18
62 #define REG_X19		19
63 #define REG_X20		20
64 #define REG_X21		21
65 #define REG_X22		22
66 #define REG_X23		23
67 #define REG_X24		24
68 #define REG_X25		25
69 #define REG_X26		26
70 #define REG_X27		27
71 #define REG_X28		28
72 #define REG_X29		29
73 #define REG_FP		REG_X29
74 #define REG_LR		30
75 #define REG_SP		31
76 #define REG_PC		32
77 
78 #ifdef	__cplusplus
79 }
80 #endif
81 
82 #endif	/* _REGSET_H */
83