From 3f2546b2ef55b661fd8dd69682b38992225e86f6 Mon Sep 17 00:00:00 2001 From: fishsoupisgood Date: Mon, 29 Apr 2019 01:17:54 +0100 Subject: Initial import of qemu-2.4.1 --- roms/u-boot/arch/mips/lib/libgcc.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 roms/u-boot/arch/mips/lib/libgcc.h (limited to 'roms/u-boot/arch/mips/lib/libgcc.h') diff --git a/roms/u-boot/arch/mips/lib/libgcc.h b/roms/u-boot/arch/mips/lib/libgcc.h new file mode 100644 index 00000000..05909d58 --- /dev/null +++ b/roms/u-boot/arch/mips/lib/libgcc.h @@ -0,0 +1,25 @@ +#ifndef __ASM_LIBGCC_H +#define __ASM_LIBGCC_H + +#include + +typedef int word_type __attribute__ ((mode (__word__))); + +#ifdef __BIG_ENDIAN +struct DWstruct { + int high, low; +}; +#elif defined(__LITTLE_ENDIAN) +struct DWstruct { + int low, high; +}; +#else +#error I feel sick. +#endif + +typedef union { + struct DWstruct s; + long long ll; +} DWunion; + +#endif /* __ASM_LIBGCC_H */ -- cgit v1.2.3