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