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 262861 2014-03-06 18:30:56Z jhb $"); |
8 |
9#include <sys/fbio.h> 10 |
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 --- |