1/** 2 * \file drm_os_freebsd.h 3 * OS abstraction macros. 4 */ 5 6#include <sys/cdefs.h>
| 1/** 2 * \file drm_os_freebsd.h 3 * OS abstraction macros. 4 */ 5 6#include <sys/cdefs.h>
|
7__FBSDID("$FreeBSD: stable/10/sys/dev/drm2/drm_os_freebsd.h 254858 2013-08-25 14:27:14Z dumbbell $");
| 7__FBSDID("$FreeBSD: stable/10/sys/dev/drm2/drm_os_freebsd.h 262861 2014-03-06 18:30:56Z jhb $");
|
8
| 8
|
| 9#include <sys/fbio.h> 10
|
9#if _BYTE_ORDER == _BIG_ENDIAN 10#define __BIG_ENDIAN 4321 11#else 12#define __LITTLE_ENDIAN 1234 13#endif 14 15#define cpu_to_le16(x) htole16(x) 16#define le16_to_cpu(x) le16toh(x)
--- 128 unchanged lines hidden --- | 11#if _BYTE_ORDER == _BIG_ENDIAN 12#define __BIG_ENDIAN 4321 13#else 14#define __LITTLE_ENDIAN 1234 15#endif 16 17#define cpu_to_le16(x) htole16(x) 18#define le16_to_cpu(x) le16toh(x)
--- 128 unchanged lines hidden --- |