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