OpenCores
URL https://opencores.org/ocsvn/or1k_soc_on_altera_embedded_dev_kit/or1k_soc_on_altera_embedded_dev_kit/trunk

Subversion Repositories or1k_soc_on_altera_embedded_dev_kit

[/] [or1k_soc_on_altera_embedded_dev_kit/] [trunk/] [linux-2.6/] [linux-2.6.24/] [arch/] [mips/] [lib/] [libgcc.h] - Rev 3

Compare with Previous | Blame | View Log

#ifndef __ASM_LIBGCC_H
#define __ASM_LIBGCC_H
 
#include <asm/byteorder.h>
 
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 */
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.