]> git.saurik.com Git - apple/xnu.git/blob - bsd/dev/dtrace/scripts/regs_arm.d
xnu-7195.101.1.tar.gz
[apple/xnu.git] / bsd / dev / dtrace / scripts / regs_arm.d
1 /*
2 * Copyright 2016 Apple, Inc. All rights reserved.
3 * Use is subject to license terms.
4 */
5
6 inline int R_R0 = 0;
7 #pragma D binding "1.0" R_R0
8 inline int R_R1 = 1;
9 #pragma D binding "1.0" R_R1
10 inline int R_R2 = 2;
11 #pragma D binding "1.0" R_R2
12 inline int R_R3 = 3;
13 #pragma D binding "1.0" R_R3
14 inline int R_R4 = 4;
15 #pragma D binding "1.0" R_R4
16 inline int R_R5 = 5;
17 #pragma D binding "1.0" R_R5
18 inline int R_R6 = 6;
19 #pragma D binding "1.0" R_R6
20 inline int R_R7 = 7;
21 #pragma D binding "1.0" R_R7
22 inline int R_R8 = 8;
23 #pragma D binding "1.0" R_R8
24 inline int R_R9 = 9;
25 #pragma D binding "1.0" R_R9
26 inline int R_R10 = 10;
27 #pragma D binding "1.0" R_R10
28 inline int R_R11 = 11;
29 #pragma D binding "1.0" R_R11
30 inline int R_R12 = 12;
31 #pragma D binding "1.0" R_R12
32 inline int R_R13 = 13;
33 #pragma D binding "1.0" R_R13
34 inline int R_R14 = 14;
35 #pragma D binding "1.0" R_R14
36 inline int R_R15 = 15;
37 #pragma D binding "1.0" R_R15
38
39 /* Apple-specific ABI to use R7 as the framepointer */
40 inline int R_FP = R_R7;
41 #pragma D binding "1.0" R_FP
42
43 inline int R_SP = R_R13;
44 #pragma D binding "1.0" R_SP
45 inline int R_LR = R_R14;
46 #pragma D binding "1.0" R_LR
47 inline int R_PC = R_R15;
48 #pragma D binding "1.0" R_PC
49 inline int R_CPSR = 16;
50 #pragma D binding "1.0" R_CPSR
51