byteorder.h 694 B

123456789101112131415161718192021222324
  1. /*
  2. * linux/arch/unicore32/include/asm/byteorder.h
  3. *
  4. * Code specific to PKUnity SoC and UniCore ISA
  5. *
  6. * Copyright (C) 2001-2010 GUAN Xue-tao
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. *
  12. * UniCore ONLY support Little Endian mode, the data bus is connected such
  13. * that byte accesses appear as:
  14. * 0 = d0...d7, 1 = d8...d15, 2 = d16...d23, 3 = d24...d31
  15. * and word accesses (data or instruction) appear as:
  16. * d0...d31
  17. */
  18. #ifndef __UNICORE_BYTEORDER_H__
  19. #define __UNICORE_BYTEORDER_H__
  20. #include <linux/byteorder/little_endian.h>
  21. #endif