2005-04-16 15:20:36 -07:00
|
|
|
/* gcclib.h -- definitions for various functions 'borrowed' from gcc-2.95.3 */
|
|
|
|
/* I Molton 29/07/01 */
|
|
|
|
|
2005-06-20 15:49:59 +01:00
|
|
|
#include <linux/types.h>
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2005-06-20 16:45:32 +01:00
|
|
|
#define BITS_PER_UNIT 8
|
|
|
|
#define SI_TYPE_SIZE (sizeof(s32) * BITS_PER_UNIT)
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
#ifdef __ARMEB__
|
2005-06-20 16:45:32 +01:00
|
|
|
struct DIstruct {
|
|
|
|
s32 high, low;
|
|
|
|
};
|
2005-04-16 15:20:36 -07:00
|
|
|
#else
|
2005-06-20 16:45:32 +01:00
|
|
|
struct DIstruct {
|
|
|
|
s32 low, high;
|
|
|
|
};
|
2005-04-16 15:20:36 -07:00
|
|
|
#endif
|
|
|
|
|
2005-06-20 16:45:32 +01:00
|
|
|
typedef union {
|
|
|
|
struct DIstruct s;
|
|
|
|
s64 ll;
|
2005-04-16 15:20:36 -07:00
|
|
|
} DIunion;
|