Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
fpswa.h
Go to the documentation of this file.
1 #ifndef _ASM_IA64_FPSWA_H
2 #define _ASM_IA64_FPSWA_H
3 
4 /*
5  * Floating-point Software Assist
6  *
7  * Copyright (C) 1999 Intel Corporation.
8  * Copyright (C) 1999 Asit Mallick <[email protected]>
9  * Copyright (C) 1999 Goutham Rao <[email protected]>
10  */
11 
12 typedef struct {
13  /* 4 * 128 bits */
14  unsigned long fp_lp[4*2];
16 
17 typedef struct {
18  /* 10 * 128 bits */
19  unsigned long fp_lv[10 * 2];
21 
22 typedef struct {
23  /* 16 * 128 bits */
24  unsigned long fp_hp[16 * 2];
26 
27 typedef struct {
28  /* 96 * 128 bits */
29  unsigned long fp_hv[96 * 2];
31 
36 typedef struct {
37  unsigned long bitmask_low64;
38  unsigned long bitmask_high64;
43 } fp_state_t;
44 
45 typedef struct {
46  unsigned long status;
47  unsigned long err0;
48  unsigned long err1;
49  unsigned long err2;
50 } fpswa_ret_t;
51 
57 typedef fpswa_ret_t (*efi_fpswa_t) (unsigned long trap_type, void *bundle, unsigned long *ipsr,
58  unsigned long *fsr, unsigned long *isr, unsigned long *preds,
59  unsigned long *ifs, fp_state_t *fp_state);
60 
65 typedef struct {
66  unsigned int revision;
67  unsigned int reserved;
70 
72 
73 #endif /* _ASM_IA64_FPSWA_H */