os/ossrv/genericopenlibs/openenvcore/include/machine/endian.dosc
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
/** @file  ../include/machine/endian.h
sl@0
     2
@internalComponent
sl@0
     3
*/
sl@0
     4
sl@0
     5
/** @fn __bswap64(__uint64_t _x)
sl@0
     6
sl@0
     7
General byte order swapping functions.
sl@0
     8
sl@0
     9
@publishedAll
sl@0
    10
@released
sl@0
    11
*/
sl@0
    12
sl@0
    13
sl@0
    14
/** @fn __bswap32(__uint32_t _x)
sl@0
    15
sl@0
    16
General byte order swapping functions.
sl@0
    17
sl@0
    18
@publishedAll
sl@0
    19
@released
sl@0
    20
*/
sl@0
    21
sl@0
    22
sl@0
    23
/** @fn __bswap16(__uint16_t _x)
sl@0
    24
sl@0
    25
General byte order swapping functions.
sl@0
    26
sl@0
    27
@publishedAll
sl@0
    28
@released
sl@0
    29
*/
sl@0
    30
sl@0
    31
sl@0
    32
/** @def _QUAD_HIGHWORD
sl@0
    33
sl@0
    34
Define the order of 32-bit words in 64-bit words.
sl@0
    35
sl@0
    36
@publishedAll
sl@0
    37
@released
sl@0
    38
*/
sl@0
    39
sl@0
    40
/** @def _QUAD_LOWWORD 
sl@0
    41
sl@0
    42
Define the order of 32-bit words in 64-bit words.
sl@0
    43
sl@0
    44
@publishedAll
sl@0
    45
@released
sl@0
    46
*/
sl@0
    47
sl@0
    48
sl@0
    49
/** @def LITTLE_ENDIAN
sl@0
    50
sl@0
    51
Definitions for byte order, according to byte significance from low address to high. LSB first: i386, vax.
sl@0
    52
sl@0
    53
@publishedAll
sl@0
    54
@externallyDefinedApi
sl@0
    55
*/
sl@0
    56
sl@0
    57
/** @def BIG_ENDIAN
sl@0
    58
sl@0
    59
Definitions for byte order, according to byte significance from low address to high. MSB first: 68000, ibm, net
sl@0
    60
sl@0
    61
@publishedAll
sl@0
    62
@externallyDefinedApi
sl@0
    63
*/
sl@0
    64
sl@0
    65
/** @def PDP_ENDIAN
sl@0
    66
sl@0
    67
Definitions for byte order, according to byte significance from low address to high. LSB first in word, MSW first in long.
sl@0
    68
	
sl@0
    69
@publishedAll
sl@0
    70
@externallyDefinedApi
sl@0
    71
*/
sl@0
    72
sl@0
    73
sl@0
    74
/** @def BYTE_ORDER	
sl@0
    75
sl@0
    76
Defined to LITTLE_ENDIAN
sl@0
    77
sl@0
    78
@publishedAll
sl@0
    79
@externallyDefinedApi
sl@0
    80
*/
sl@0
    81
sl@0
    82