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