1 #ifndef _ASM_IA64_PTRACE_OFFSETS_H
2 #define _ASM_IA64_PTRACE_OFFSETS_H
5 * Copyright (C) 1999 Hewlett-Packard Co
6 * Copyright (C) 1999 David Mosberger-Tang <davidm@hpl.hp.com>
9 * The "uarea" that can be accessed via PEEKUSER and POKEUSER is a
10 * virtual structure that would have the following definition:
13 * struct ia64_fpreg fph[96]; // f32-f127
14 * struct switch_stack sw;
16 * unsigned long rsvd1[712];
17 * unsigned long dbr[8];
18 * unsigned long rsvd2[504];
19 * unsigned long ibr[8];
20 * unsigned long rsvd3[504];
21 * unsigned long pmd[4];
94 #define PT_F100 0x0440
95 #define PT_F101 0x0450
96 #define PT_F102 0x0460
97 #define PT_F103 0x0470
98 #define PT_F104 0x0480
99 #define PT_F105 0x0490
100 #define PT_F106 0x04a0
101 #define PT_F107 0x04b0
102 #define PT_F108 0x04c0
103 #define PT_F109 0x04d0
104 #define PT_F110 0x04e0
105 #define PT_F111 0x04f0
106 #define PT_F112 0x0500
107 #define PT_F113 0x0510
108 #define PT_F114 0x0520
109 #define PT_F115 0x0530
110 #define PT_F116 0x0540
111 #define PT_F117 0x0550
112 #define PT_F118 0x0560
113 #define PT_F119 0x0570
114 #define PT_F120 0x0580
115 #define PT_F121 0x0590
116 #define PT_F122 0x05a0
117 #define PT_F123 0x05b0
118 #define PT_F124 0x05c0
119 #define PT_F125 0x05d0
120 #define PT_F126 0x05e0
121 #define PT_F127 0x05f0
123 #define PT_NAT_BITS 0x0600
129 #define PT_F10 0x0650
130 #define PT_F11 0x0660
131 #define PT_F12 0x0670
132 #define PT_F13 0x0680
133 #define PT_F14 0x0690
134 #define PT_F15 0x06a0
135 #define PT_F16 0x06b0
136 #define PT_F17 0x06c0
137 #define PT_F18 0x06d0
138 #define PT_F19 0x06e0
139 #define PT_F20 0x06f0
140 #define PT_F21 0x0700
141 #define PT_F22 0x0710
142 #define PT_F23 0x0720
143 #define PT_F24 0x0730
144 #define PT_F25 0x0740
145 #define PT_F26 0x0750
146 #define PT_F27 0x0760
147 #define PT_F28 0x0770
148 #define PT_F29 0x0780
149 #define PT_F30 0x0790
150 #define PT_F31 0x07a0
162 #define PT_AR_EC 0x0800
163 #define PT_AR_LC 0x0808
166 #define PT_CR_IPSR 0x0830
167 #define PT_CR_IIP 0x0838
168 #define PT_CFM 0x0840
169 #define PT_AR_UNAT 0x0848
170 #define PT_AR_PFS 0x0850
171 #define PT_AR_RSC 0x0858
172 #define PT_AR_RNAT 0x0860
173 #define PT_AR_BSPSTORE 0x0868
176 #define PT_AR_BSP 0x0880 /* note: this points to the *end* of the backing store! */
180 #define PT_R12 0x08a0
181 #define PT_R13 0x08a8
182 #define PT_R14 0x08b0
183 #define PT_R15 0x08b8
186 #define PT_R10 0x08d0
187 #define PT_R11 0x08d8
188 #define PT_R16 0x08e0
189 #define PT_R17 0x08e8
190 #define PT_R18 0x08f0
191 #define PT_R19 0x08f8
192 #define PT_R20 0x0900
193 #define PT_R21 0x0908
194 #define PT_R22 0x0910
195 #define PT_R23 0x0918
196 #define PT_R24 0x0920
197 #define PT_R25 0x0928
198 #define PT_R26 0x0930
199 #define PT_R27 0x0938
200 #define PT_R28 0x0940
201 #define PT_R29 0x0948
202 #define PT_R30 0x0950
203 #define PT_R31 0x0958
204 #define PT_AR_CCV 0x0960
205 #define PT_AR_FPSR 0x0968
213 #define PT_DBR 0x2000 /* data breakpoint registers */
214 #define PT_IBR 0x3000 /* instruction breakpoint registers */
215 #define PT_PMD 0x4000 /* performance monitoring counters */
217 #endif /* _ASM_IA64_PTRACE_OFFSETS_H */