Subversion Repositories HelenOS-historic

Rev

Rev 1702 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1702 Rev 1780
Line 36... Line 36...
36
#define __sparc64_BYTEORDER_H__
36
#define __sparc64_BYTEORDER_H__
37
 
37
 
38
#include <arch/types.h>
38
#include <arch/types.h>
39
#include <byteorder.h>
39
#include <byteorder.h>
40
 
40
 
41
static inline __u64 __u64_le2host(__u64 n)
41
static inline uint64_t uint64_t_le2host(uint64_t n)
42
{
42
{
43
    return __u64_byteorder_swap(n);
43
    return uint64_t_byteorder_swap(n);
44
}
44
}
45
 
45
 
46
static inline __native __native_le2host(__native n)
46
static inline unative_t unative_t_le2host(unative_t n)
47
{
47
{
48
    return __u64_byteorder_swap(n);
48
    return uint64_t_byteorder_swap(n);
49
}
49
}
50
 
50
 
51
#endif
51
#endif
52
 
52
 
53
 /** @}
53
 /** @}