2 * Copyright (c) 1999, 2000
\r
4 * All rights reserved.
\r
6 * Redistribution and use in source and binary forms, with or without
\r
7 * modification, are permitted provided that the following conditions
\r
10 * 1. Redistributions of source code must retain the above copyright
\r
11 * notice, this list of conditions and the following disclaimer.
\r
13 * 2. Redistributions in binary form must reproduce the above copyright
\r
14 * notice, this list of conditions and the following disclaimer in the
\r
15 * documentation and/or other materials provided with the distribution.
\r
17 * 3. All advertising materials mentioning features or use of this software
\r
18 * must display the following acknowledgement:
\r
20 * This product includes software developed by Intel Corporation and
\r
23 * 4. Neither the name of Intel Corporation or its contributors may be
\r
24 * used to endorse or promote products derived from this software
\r
25 * without specific prior written permission.
\r
27 * THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION AND CONTRIBUTORS ``AS IS''
\r
28 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
\r
29 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
\r
30 * ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION OR CONTRIBUTORS BE
\r
31 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
\r
32 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
\r
33 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
\r
34 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
\r
35 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
\r
36 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
\r
37 * THE POSSIBILITY OF SUCH DAMAGE.
\r
42 #ifndef _EFICONTEXT_H_
\r
43 #define _EFICONTEXT_H_
\r
47 // IA-64 processor exception types
\r
49 #define EXCPT_ALT_DTLB 4
\r
50 #define EXCPT_DNESTED_TLB 5
\r
51 #define EXCPT_BREAKPOINT 11
\r
52 #define EXCPT_EXTERNAL_INTERRUPT 12
\r
53 #define EXCPT_GEN_EXCEPT 24
\r
54 #define EXCPT_NAT_CONSUMPTION 26
\r
55 #define EXCPT_DEBUG_EXCEPT 29
\r
56 #define EXCPT_UNALIGNED_ACCESS 30
\r
57 #define EXCPT_FP_FAULT 32
\r
58 #define EXCPT_FP_TRAP 33
\r
59 #define EXCPT_TAKEN_BRANCH 35
\r
60 #define EXCPT_SINGLE_STEP 36
\r
63 // IA-64 processor context definition - must be 512 byte aligned!!!
\r
67 UINT64 reserved; // necessary to preserve alignment for the correct bits in UNAT and to insure F2 is 16 byte aligned...
\r
143 // application registers
\r
146 UINT64 ar_bspstore;
\r
169 // control registers
\r
203 // virtual registers
\r
204 UINT64 int_nat; // nat bits for R1-R31
\r
208 #endif /* _EFI_CONTEXT_H_ */
\r