xref: /openbsd-src/sys/arch/hppa/include/endian.h (revision 7c5b55ffaa0f5c08dd241e875c8f84be8ee73135)
1*7c5b55ffSguenther /*	$OpenBSD: endian.h,v 1.12 2014/07/12 16:25:08 guenther Exp $	*/
29c0b8818Smickey 
39c0b8818Smickey /*
4fef2e65fSmickey  * Copyright (c) 1998-2004 Michael Shalayeff
59c0b8818Smickey  * All rights reserved.
69c0b8818Smickey  *
79c0b8818Smickey  * Redistribution and use in source and binary forms, with or without
89c0b8818Smickey  * modification, are permitted provided that the following conditions
99c0b8818Smickey  * are met:
109c0b8818Smickey  * 1. Redistributions of source code must retain the above copyright
119c0b8818Smickey  *    notice, this list of conditions and the following disclaimer.
129c0b8818Smickey  * 2. Redistributions in binary form must reproduce the above copyright
139c0b8818Smickey  *    notice, this list of conditions and the following disclaimer in the
149c0b8818Smickey  *    documentation and/or other materials provided with the distribution.
159c0b8818Smickey  *
160d19dd4dSmickey  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
170d19dd4dSmickey  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
180d19dd4dSmickey  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19fef2e65fSmickey  * IN NO EVENT SHALL THE AUTHOR OR HIS RELATIVES BE LIABLE FOR ANY DIRECT,
20fef2e65fSmickey  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21fef2e65fSmickey  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22fef2e65fSmickey  * SERVICES; LOSS OF MIND, USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23fef2e65fSmickey  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
24fef2e65fSmickey  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
25fef2e65fSmickey  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
26fef2e65fSmickey  * THE POSSIBILITY OF SUCH DAMAGE.
279c0b8818Smickey  */
289c0b8818Smickey 
29c86cacd2Spirofti #ifndef _MACHINE_ENDIAN_H_
30c86cacd2Spirofti #define	_MACHINE_ENDIAN_H_
319c0b8818Smickey 
3252a0e603Smillert #define	_BYTE_ORDER _BIG_ENDIAN
334eacc224Sjason #define	__STRICT_ALIGNMENT
344eacc224Sjason 
35*7c5b55ffSguenther #ifndef __FROM_SYS__ENDIAN
36*7c5b55ffSguenther #include <sys/endian.h>
37*7c5b55ffSguenther #endif
38*7c5b55ffSguenther 
39c86cacd2Spirofti #endif /* !_MACHINE_ENDIAN_H_ */
40