URL
https://opencores.org/ocsvn/or1k_old/or1k_old/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 1765 |
Rev 1782 |
/* $Id: byteorder.h,v 1.1 2005-12-20 11:32:11 jcastillo Exp $ */
|
/* $Id: byteorder.h,v 1.1 2005-12-20 11:32:11 jcastillo Exp $ */
|
#ifndef _SPARC_BYTEORDER_H
|
#ifndef _SPARC_BYTEORDER_H
|
#define _SPARC_BYTEORDER_H
|
#define _SPARC_BYTEORDER_H
|
|
|
#define ntohl(x) x
|
#define ntohl(x) x
|
#define ntohs(x) x
|
#define ntohs(x) x
|
#define htonl(x) x
|
#define htonl(x) x
|
#define htons(x) x
|
#define htons(x) x
|
|
|
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
#define __BIG_ENDIAN
|
#define __BIG_ENDIAN
|
#endif
|
#endif
|
#define __BIG_ENDIAN_BITFIELD
|
#define __BIG_ENDIAN_BITFIELD
|
|
|
#endif /* !(_SPARC_BYTEORDER_H) */
|
#endif /* !(_SPARC_BYTEORDER_H) */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.