xref: /freebsd/sys/riscv/include/endian.h (revision 29363fb446372cb3f10bc98664e9767c53fbb457)
18d7e7a98SRuslan Bukin /*-
28d7e7a98SRuslan Bukin  * Copyright (c) 2001 David E. O'Brien
38d7e7a98SRuslan Bukin  *
48d7e7a98SRuslan Bukin  * Redistribution and use in source and binary forms, with or without
58d7e7a98SRuslan Bukin  * modification, are permitted provided that the following conditions
68d7e7a98SRuslan Bukin  * are met:
78d7e7a98SRuslan Bukin  * 1. Redistributions of source code must retain the above copyright
88d7e7a98SRuslan Bukin  *    notice, this list of conditions and the following disclaimer.
98d7e7a98SRuslan Bukin  * 2. Redistributions in binary form must reproduce the above copyright
108d7e7a98SRuslan Bukin  *    notice, this list of conditions and the following disclaimer in the
118d7e7a98SRuslan Bukin  *    documentation and/or other materials provided with the distribution.
128d7e7a98SRuslan Bukin  * 3. Neither the name of the University nor the names of its contributors
138d7e7a98SRuslan Bukin  *    may be used to endorse or promote products derived from this software
148d7e7a98SRuslan Bukin  *    without specific prior written permission.
158d7e7a98SRuslan Bukin  *
168d7e7a98SRuslan Bukin  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
178d7e7a98SRuslan Bukin  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
188d7e7a98SRuslan Bukin  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
198d7e7a98SRuslan Bukin  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
208d7e7a98SRuslan Bukin  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
218d7e7a98SRuslan Bukin  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
228d7e7a98SRuslan Bukin  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
238d7e7a98SRuslan Bukin  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
248d7e7a98SRuslan Bukin  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
258d7e7a98SRuslan Bukin  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
268d7e7a98SRuslan Bukin  * SUCH DAMAGE.
278d7e7a98SRuslan Bukin  * $NetBSD: endian.h,v 1.7 1999/08/21 05:53:51 simonb Exp $
288d7e7a98SRuslan Bukin  */
298d7e7a98SRuslan Bukin 
308d7e7a98SRuslan Bukin #ifndef _MACHINE_ENDIAN_H_
318d7e7a98SRuslan Bukin #define	_MACHINE_ENDIAN_H_
328d7e7a98SRuslan Bukin 
338d7e7a98SRuslan Bukin #include <sys/_types.h>
34*720dc6bcSMitchell Horne #include <sys/_endian.h>
358d7e7a98SRuslan Bukin 
368d7e7a98SRuslan Bukin #endif /* !_MACHINE_ENDIAN_H_ */
37