1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/ossrv/genericopenlibs/openenvcore/include/machine/endian.dosc Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,82 @@
1.4 +/** @file ../include/machine/endian.h
1.5 +@internalComponent
1.6 +*/
1.7 +
1.8 +/** @fn __bswap64(__uint64_t _x)
1.9 +
1.10 +General byte order swapping functions.
1.11 +
1.12 +@publishedAll
1.13 +@released
1.14 +*/
1.15 +
1.16 +
1.17 +/** @fn __bswap32(__uint32_t _x)
1.18 +
1.19 +General byte order swapping functions.
1.20 +
1.21 +@publishedAll
1.22 +@released
1.23 +*/
1.24 +
1.25 +
1.26 +/** @fn __bswap16(__uint16_t _x)
1.27 +
1.28 +General byte order swapping functions.
1.29 +
1.30 +@publishedAll
1.31 +@released
1.32 +*/
1.33 +
1.34 +
1.35 +/** @def _QUAD_HIGHWORD
1.36 +
1.37 +Define the order of 32-bit words in 64-bit words.
1.38 +
1.39 +@publishedAll
1.40 +@released
1.41 +*/
1.42 +
1.43 +/** @def _QUAD_LOWWORD
1.44 +
1.45 +Define the order of 32-bit words in 64-bit words.
1.46 +
1.47 +@publishedAll
1.48 +@released
1.49 +*/
1.50 +
1.51 +
1.52 +/** @def LITTLE_ENDIAN
1.53 +
1.54 +Definitions for byte order, according to byte significance from low address to high. LSB first: i386, vax.
1.55 +
1.56 +@publishedAll
1.57 +@externallyDefinedApi
1.58 +*/
1.59 +
1.60 +/** @def BIG_ENDIAN
1.61 +
1.62 +Definitions for byte order, according to byte significance from low address to high. MSB first: 68000, ibm, net
1.63 +
1.64 +@publishedAll
1.65 +@externallyDefinedApi
1.66 +*/
1.67 +
1.68 +/** @def PDP_ENDIAN
1.69 +
1.70 +Definitions for byte order, according to byte significance from low address to high. LSB first in word, MSW first in long.
1.71 +
1.72 +@publishedAll
1.73 +@externallyDefinedApi
1.74 +*/
1.75 +
1.76 +
1.77 +/** @def BYTE_ORDER
1.78 +
1.79 +Defined to LITTLE_ENDIAN
1.80 +
1.81 +@publishedAll
1.82 +@externallyDefinedApi
1.83 +*/
1.84 +
1.85 +