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