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