2 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
7 #pragma D binding "1.0" R_GS
9 #pragma D binding "1.0" R_FS
11 #pragma D binding "1.0" R_ES
13 #pragma D binding "1.0" R_DS
16 #pragma D binding "1.0" R_EDI
18 #pragma D binding "1.0" R_ESI
20 #pragma D binding "1.0" R_EBP
22 #pragma D binding "1.0" R_ESP
24 #pragma D binding "1.0" R_EBX
26 #pragma D binding "1.0" R_EDX
27 inline int R_ECX = 10;
28 #pragma D binding "1.0" R_ECX
29 inline int R_EAX = 11;
30 #pragma D binding "1.0" R_EAX
32 inline int R_TRAPNO = 12;
33 #pragma D binding "1.0" R_TRAPNO
34 inline int R_ERR = 13;
35 #pragma D binding "1.0" R_ERR
36 inline int R_EIP = 14;
37 #pragma D binding "1.0" R_EIP
39 #pragma D binding "1.0" R_CS
40 inline int R_EFL = 16;
41 #pragma D binding "1.0" R_EFL
42 inline int R_UESP = 17;
43 #pragma D binding "1.0" R_UESP
45 #pragma D binding "1.0" R_SS
47 inline int R_PC = R_EIP;
48 #pragma D binding "1.0" R_PC
49 inline int R_SP = R_UESP;
50 #pragma D binding "1.0" R_SP
51 inline int R_PS = R_EFL;
52 #pragma D binding "1.0" R_PS
53 inline int R_R0 = R_EAX;
54 #pragma D binding "1.0" R_R0
55 inline int R_R1 = R_EBX;
56 #pragma D binding "1.0" R_R1
58 inline int R_RSP = 18 + 1 + 20;
59 #pragma D binding "1.0" R_RSP
60 inline int R_RFL = 18 + 1 + 19;
61 #pragma D binding "1.0" R_RFL
62 inline int R_RIP = 18 + 1 + 17;
63 #pragma D binding "1.0" R_RIP
64 inline int R_RAX = 18 + 1 + 14;
65 #pragma D binding "1.0" R_RAX
66 inline int R_RCX = 18 + 1 + 13;
67 #pragma D binding "1.0" R_RCX
68 inline int R_RDX = 18 + 1 + 12;
69 #pragma D binding "1.0" R_RDX
70 inline int R_RBX = 18 + 1 + 11;
71 #pragma D binding "1.0" R_RBX
72 inline int R_RBP = 18 + 1 + 10;
73 #pragma D binding "1.0" R_RBP
74 inline int R_RSI = 18 + 1 + 9;
75 #pragma D binding "1.0" R_RSI
76 inline int R_RDI = 18 + 1 + 8;
77 #pragma D binding "1.0" R_RDI
78 inline int R_R8 = 18 + 1 + 7;
79 #pragma D binding "1.0" R_R8
80 inline int R_R9 = 18 + 1 + 6;
81 #pragma D binding "1.0" R_R9
82 inline int R_R10 = 18 + 1 + 5;
83 #pragma D binding "1.0" R_R10
84 inline int R_R11 = 18 + 1 + 4;
85 #pragma D binding "1.0" R_R11
86 inline int R_R12 = 18 + 1 + 3;
87 #pragma D binding "1.0" R_R12
88 inline int R_R13 = 18 + 1 + 2;
89 #pragma D binding "1.0" R_R13
90 inline int R_R14 = 18 + 1 + 1;
91 #pragma D binding "1.0" R_R14
92 inline int R_R15 = 18 + 1 + 0;
93 #pragma D binding "1.0" R_R15