Subversion Repositories HelenOS

Rev

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

Rev 2071 Rev 2794
Line 35... Line 35...
35
#ifndef KERN_sparc64_BYTEORDER_H_
35
#ifndef KERN_sparc64_BYTEORDER_H_
36
#define KERN_sparc64_BYTEORDER_H_
36
#define KERN_sparc64_BYTEORDER_H_
37
 
37
 
38
#include <byteorder.h>
38
#include <byteorder.h>
39
 
39
 
-
 
40
#define uint16_t_le2host(n)     uint16_t_byteorder_swap(n)
40
#define uint32_t_le2host(n)     uint32_t_byteorder_swap(n)
41
#define uint32_t_le2host(n)     uint32_t_byteorder_swap(n)
41
#define uint64_t_le2host(n)     uint64_t_byteorder_swap(n)
42
#define uint64_t_le2host(n)     uint64_t_byteorder_swap(n)
42
 
43
 
-
 
44
#define uint16_t_be2host(n)     (n)
43
#define uint32_t_be2host(n)     (n)
45
#define uint32_t_be2host(n)     (n)
44
#define uint64_t_be2host(n)     (n)
46
#define uint64_t_be2host(n)     (n)
45
 
47
 
46
#endif
48
#endif
47
 
49