Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
awilliam
GitHub Repository: awilliam/linux-vfio
Path: blob/master/arch/unicore32/include/asm/byteorder.h
10818 views
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
21
#include <linux/byteorder/little_endian.h>
22
23
#endif
24
25
26