Subversion Repositories HelenOS-historic

Rev

Rev 292 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 292 Rev 294
Line 29... Line 29...
29
#ifndef __ppc_BYTEORDER_H__
29
#ifndef __ppc_BYTEORDER_H__
30
#define __ppc_BYTEORDER_H__
30
#define __ppc_BYTEORDER_H__
31
 
31
 
32
#include <arch/types.h>
32
#include <arch/types.h>
33
 
33
 
34
/** Convert little-endian parameter to host endianess
34
/** Convert little-endian __native to host __native
35
 *
35
 *
36
 * Convert little-endian to host endianess,
36
 * Convert little-endian __native parameter to host endianess.
37
 *
37
 *
38
 * @param n Little-endian native argument.
38
 * @param n Little-endian __native argument.
39
 *
39
 *
40
 * @return Result in host endianess.
40
 * @return Result in host endianess.
41
 *
41
 *
42
 */
42
 */
43
static inline __native native_le2host(__native n)
43
static inline __native native_le2host(__native n)