xref: /freebsd/cddl/lib/libdtrace/regs_aarch64.d (revision 21a16d55cc15b12809b982c2026a26bcf97fe79b)
1 /*
2  * SPDX-License-Identifier: CDDL 1.0
3  *
4  * Copyright 2023 Christos Margiolis <christos@FreeBSD.org>
5  */
6 
7 inline int R_X0 = 0;
8 #pragma D binding "1.13" R_X0
9 inline int R_X1 = 1;
10 #pragma D binding "1.13" R_X1
11 inline int R_X2 = 2;
12 #pragma D binding "1.13" R_X2
13 inline int R_X3 = 3;
14 #pragma D binding "1.13" R_X3
15 inline int R_X4 = 4;
16 #pragma D binding "1.13" R_X4
17 inline int R_X5 = 5;
18 #pragma D binding "1.13" R_X5
19 inline int R_X6 = 6;
20 #pragma D binding "1.13" R_X6
21 inline int R_X7 = 7;
22 #pragma D binding "1.13" R_X7
23 inline int R_X8 = 8;
24 #pragma D binding "1.13" R_X8
25 inline int R_X9 = 9;
26 #pragma D binding "1.13" R_X9
27 inline int R_X10 = 10;
28 #pragma D binding "1.13" R_X10
29 inline int R_X11 = 11;
30 #pragma D binding "1.13" R_X11
31 inline int R_X12 = 12;
32 #pragma D binding "1.13" R_X12
33 inline int R_X13 = 13;
34 #pragma D binding "1.13" R_X13
35 inline int R_X14 = 14;
36 #pragma D binding "1.13" R_X14
37 inline int R_X15 = 15;
38 #pragma D binding "1.13" R_X15
39 inline int R_X16 = 16;
40 #pragma D binding "1.13" R_X16
41 inline int R_X17 = 17;
42 #pragma D binding "1.13" R_X17
43 inline int R_X18 = 18;
44 #pragma D binding "1.13" R_X18
45 inline int R_X19 = 19;
46 #pragma D binding "1.13" R_X19
47 inline int R_X20 = 20;
48 #pragma D binding "1.13" R_X20
49 inline int R_X21 = 21;
50 #pragma D binding "1.13" R_X21
51 inline int R_X22 = 22;
52 #pragma D binding "1.13" R_X22
53 inline int R_X23 = 23;
54 #pragma D binding "1.13" R_X23
55 inline int R_X24 = 24;
56 #pragma D binding "1.13" R_X24
57 inline int R_X25 = 25;
58 #pragma D binding "1.13" R_X25
59 inline int R_X26 = 26;
60 #pragma D binding "1.13" R_X26
61 inline int R_X27 = 27;
62 #pragma D binding "1.13" R_X27
63 inline int R_X28 = 28;
64 #pragma D binding "1.13" R_X28
65 inline int R_X29 = 29;
66 #pragma D binding "1.13" R_X29
67 inline int R_FP= 29;
68 #pragma D binding "1.13" R_FP
69 inline int R_LR = 30;
70 #pragma D binding "1.13" R_LR
71 inline int R_SP	= 31;
72 #pragma D binding "1.13" R_SP
73 inline int R_PC	= 32;
74 #pragma D binding "1.13" R_PC
75