1 /** @file
2 
3     Register Definition for IPF.
4 
5 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution.  The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php.
10 
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 
14 **/
15 #ifndef _IA64GEN_H_
16 #define _IA64GEN_H_
17 
18 #define TT_UNAT           0
19 #define C_PSR             0
20 #define J_UNAT            0
21 #define T_TYPE            0
22 #define T_IPSR            0x8
23 #define T_ISR             0x10
24 #define T_IIP             0x18
25 #define T_IFA             0x20
26 #define T_IIPA            0x28
27 #define T_IFS             0x30
28 #define T_IIM             0x38
29 #define T_RSC             0x40
30 #define T_BSP             0x48
31 #define T_BSPSTORE        0x50
32 #define T_RNAT            0x58
33 #define T_PFS             0x60
34 #define T_KBSPSTORE       0x68
35 #define T_UNAT            0x70
36 #define T_CCV             0x78
37 #define T_DCR             0x80
38 #define T_PREDS           0x88
39 #define T_NATS            0x90
40 #define T_R1              0x98
41 #define T_GP              0x98
42 #define T_R2              0xa0
43 #define T_R3              0xa8
44 #define T_R4              0xb0
45 #define T_R5              0xb8
46 #define T_R6              0xc0
47 #define T_R7              0xc8
48 #define T_R8              0xd0
49 #define T_R9              0xd8
50 #define T_R10             0xe0
51 #define T_R11             0xe8
52 #define T_R12             0xf0
53 #define T_SP              0xf0
54 #define T_R13             0xf8
55 #define T_R14             0x100
56 #define T_R15             0x108
57 #define T_R16             0x110
58 #define T_R17             0x118
59 #define T_R18             0x120
60 #define T_R19             0x128
61 #define T_R20             0x130
62 #define T_R21             0x138
63 #define T_R22             0x140
64 #define T_R23             0x148
65 #define T_R24             0x150
66 #define T_R25             0x158
67 #define T_R26             0x160
68 #define T_R27             0x168
69 #define T_R28             0x170
70 #define T_R29             0x178
71 #define T_R30             0x180
72 #define T_R31             0x188
73 #define T_F2              0x1f0
74 #define T_F3              0x200
75 #define T_F4              0x210
76 #define T_F5              0x220
77 #define T_F6              0x230
78 #define T_F7              0x240
79 #define T_F8              0x250
80 #define T_F9              0x260
81 #define T_F10             0x270
82 #define T_F11             0x280
83 #define T_F12             0x290
84 #define T_F13             0x2a0
85 #define T_F14             0x2b0
86 #define T_F15             0x2c0
87 #define T_F16             0x2d0
88 #define T_F17             0x2e0
89 #define T_F18             0x2f0
90 #define T_F19             0x300
91 #define T_F20             0x310
92 #define T_F21             0x320
93 #define T_F22             0x330
94 #define T_F23             0x340
95 #define T_F24             0x350
96 #define T_F25             0x360
97 #define T_F26             0x370
98 #define T_F27             0x380
99 #define T_F28             0x390
100 #define T_F29             0x3a0
101 #define T_F30             0x3b0
102 #define T_F31             0x3c0
103 #define T_FPSR            0x1e0
104 #define T_B0              0x190
105 #define T_B1              0x198
106 #define T_B2              0x1a0
107 #define T_B3              0x1a8
108 #define T_B4              0x1b0
109 #define T_B5              0x1b8
110 #define T_B6              0x1c0
111 #define T_B7              0x1c8
112 #define T_EC              0x1d0
113 #define T_LC              0x1d8
114 #define J_NATS            0x8
115 #define J_PFS             0x10
116 #define J_BSP             0x18
117 #define J_RNAT            0x20
118 #define J_PREDS           0x28
119 #define J_LC              0x30
120 #define J_R4              0x38
121 #define J_R5              0x40
122 #define J_R6              0x48
123 #define J_R7              0x50
124 #define J_SP              0x58
125 #define J_F2              0x60
126 #define J_F3              0x70
127 #define J_F4              0x80
128 #define J_F5              0x90
129 #define J_F16             0xa0
130 #define J_F17             0xb0
131 #define J_F18             0xc0
132 #define J_F19             0xd0
133 #define J_F20             0xe0
134 #define J_F21             0xf0
135 #define J_F22             0x100
136 #define J_F23             0x110
137 #define J_F24             0x120
138 #define J_F25             0x130
139 #define J_F26             0x140
140 #define J_F27             0x150
141 #define J_F28             0x160
142 #define J_F29             0x170
143 #define J_F30             0x180
144 #define J_F31             0x190
145 #define J_FPSR            0x1a0
146 #define J_B0              0x1a8
147 #define J_B1              0x1b0
148 #define J_B2              0x1b8
149 #define J_B3              0x1c0
150 #define J_B4              0x1c8
151 #define J_B5              0x1d0
152 #define TRAP_FRAME_LENGTH 0x3d0
153 #define C_UNAT            0x28
154 #define C_NATS            0x30
155 #define C_PFS             0x8
156 #define C_BSPSTORE        0x10
157 #define C_RNAT            0x18
158 #define C_RSC             0x20
159 #define C_PREDS           0x38
160 #define C_LC              0x40
161 #define C_DCR             0x48
162 #define C_R1              0x50
163 #define C_GP              0x50
164 #define C_R4              0x58
165 #define C_R5              0x60
166 #define C_R6              0x68
167 #define C_R7              0x70
168 #define C_SP              0x78
169 #define C_R13             0x80
170 #define C_F2              0x90
171 #define C_F3              0xa0
172 #define C_F4              0xb0
173 #define C_F5              0xc0
174 #define C_F16             0xd0
175 #define C_F17             0xe0
176 #define C_F18             0xf0
177 #define C_F19             0x100
178 #define C_F20             0x110
179 #define C_F21             0x120
180 #define C_F22             0x130
181 #define C_F23             0x140
182 #define C_F24             0x150
183 #define C_F25             0x160
184 #define C_F26             0x170
185 #define C_F27             0x180
186 #define C_F28             0x190
187 #define C_F29             0x1a0
188 #define C_F30             0x1b0
189 #define C_F31             0x1c0
190 #define C_FPSR            0x1d0
191 #define C_B0              0x1d8
192 #define C_B1              0x1e0
193 #define C_B2              0x1e8
194 #define C_B3              0x1f0
195 #define C_B4              0x1f8
196 #define C_B5              0x200
197 #define TT_R2             0x8
198 #define TT_R3             0x10
199 #define TT_R8             0x18
200 #define TT_R9             0x20
201 #define TT_R10            0x28
202 #define TT_R11            0x30
203 #define TT_R14            0x38
204 
205 #endif _IA64GEN_H
206