patch-2.4.22 linux-2.4.22/arch/arm/nwfpe/fpa11.h
Next file: linux-2.4.22/arch/arm/nwfpe/fpa11.inl
Previous file: linux-2.4.22/arch/arm/nwfpe/fpa11.c
Back to the patch index
Back to the overall index
- Lines: 54
- Date:
2003-08-25 04:44:39.000000000 -0700
- Orig file:
linux-2.4.21/arch/arm/nwfpe/fpa11.h
- Orig date:
2002-08-02 17:39:42.000000000 -0700
diff -urN linux-2.4.21/arch/arm/nwfpe/fpa11.h linux-2.4.22/arch/arm/nwfpe/fpa11.h
@@ -38,6 +38,7 @@
/* includes */
#include "fpsr.h" /* FP control and status register definitions */
+#include "milieu.h"
#include "softfloat.h"
#define typeNone 0x00
@@ -49,9 +50,13 @@
* This must be no more and no less than 12 bytes.
*/
typedef union tagFPREG {
- floatx80 fExtended;
- float64 fDouble;
- float32 fSingle;
+ float32 fSingle;
+ float64 fDouble;
+#ifdef CONFIG_FPE_NWFPE_XP
+ floatx80 fExtended;
+#else
+ int padding[3];
+#endif
} FPREG;
/*
@@ -68,17 +73,17 @@
* not initialise.
*/
typedef struct tagFPA11 {
-/* 0 */ FPREG fpreg[8]; /* 8 floating point registers */
-/* 96 */ FPSR fpsr; /* floating point status register */
-/* 100 */ FPCR fpcr; /* floating point control register */
-/* 104 */ unsigned char fType[8]; /* type of floating point value held in
- floating point registers. One of none
- single, double or extended. */
-/* 112 */ int initflag; /* this is special. The kernel guarantees
- to set it to 0 when a thread is launched,
- so we can use it to detect whether this
- instance of the emulator needs to be
- initialised. */
+/* 0 */ FPREG fpreg[8]; /* 8 floating point registers */
+/* 96 */ FPSR fpsr; /* floating point status register */
+/* 100 */ FPCR fpcr; /* floating point control register */
+/* 104 */ unsigned char fType[8]; /* type of floating point value held in
+ floating point registers. One of
+ none, single, double or extended. */
+/* 112 */ int initflag; /* this is special. The kernel guarantees
+ to set it to 0 when a thread is launched,
+ so we can use it to detect whether this
+ instance of the emulator needs to be
+ initialised. */
} FPA11;
extern void resetFPA11(void);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)