import preliminary ppc work by rdp.

This commit is contained in:
Richard Pennington 2012-11-09 23:32:57 +01:00 • committed by rofl0r
commit 7669d1e334
38 changed files with 2124 additions and 0 deletions

15
arch/ppc/bits/endian.h Normal file
View file

@ -0,0 +1,15 @@
#ifdef __BIG_ENDIAN__
#if __BIG_ENDIAN__
#define __BYTE_ORDER __BIG_ENDIAN
#endif
#endif /* __BIG_ENDIAN__ */
#ifdef __LITTLE_ENDIAN__
#if __LITTLE_ENDIAN__
#define __BYTE_ORDER __LITTLE_ENDIAN
#endif
#endif /* __LITTLE_ENDIAN__ */
#ifndef __BYTE_ORDER
#define __BYTE_ORDER __BIG_ENDIAN
#endif