xref: /freebsd/sys/x86/include/endian.h (revision 720dc6bcb5a8c4283802576e2ef54f42b33fa8d4)
195b1d16dSTijl Coosemans /*-
251369649SPedro F. Giffuni  * SPDX-License-Identifier: BSD-3-Clause
351369649SPedro F. Giffuni  *
495b1d16dSTijl Coosemans  * Copyright (c) 1987, 1991 Regents of the University of California.
595b1d16dSTijl Coosemans  * All rights reserved.
695b1d16dSTijl Coosemans  *
795b1d16dSTijl Coosemans  * Redistribution and use in source and binary forms, with or without
895b1d16dSTijl Coosemans  * modification, are permitted provided that the following conditions
995b1d16dSTijl Coosemans  * are met:
1095b1d16dSTijl Coosemans  * 1. Redistributions of source code must retain the above copyright
1195b1d16dSTijl Coosemans  *    notice, this list of conditions and the following disclaimer.
1295b1d16dSTijl Coosemans  * 2. Redistributions in binary form must reproduce the above copyright
1395b1d16dSTijl Coosemans  *    notice, this list of conditions and the following disclaimer in the
1495b1d16dSTijl Coosemans  *    documentation and/or other materials provided with the distribution.
15fbbd9655SWarner Losh  * 3. Neither the name of the University nor the names of its contributors
1695b1d16dSTijl Coosemans  *    may be used to endorse or promote products derived from this software
1795b1d16dSTijl Coosemans  *    without specific prior written permission.
1895b1d16dSTijl Coosemans  *
1995b1d16dSTijl Coosemans  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2095b1d16dSTijl Coosemans  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2195b1d16dSTijl Coosemans  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2295b1d16dSTijl Coosemans  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2395b1d16dSTijl Coosemans  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2495b1d16dSTijl Coosemans  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2595b1d16dSTijl Coosemans  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2695b1d16dSTijl Coosemans  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2795b1d16dSTijl Coosemans  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2895b1d16dSTijl Coosemans  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2995b1d16dSTijl Coosemans  * SUCH DAMAGE.
3095b1d16dSTijl Coosemans  *
3195b1d16dSTijl Coosemans  *	@(#)endian.h	7.8 (Berkeley) 4/3/91
3295b1d16dSTijl Coosemans  * $FreeBSD$
3395b1d16dSTijl Coosemans  */
3495b1d16dSTijl Coosemans 
3595b1d16dSTijl Coosemans #ifndef _MACHINE_ENDIAN_H_
3695b1d16dSTijl Coosemans #define	_MACHINE_ENDIAN_H_
3795b1d16dSTijl Coosemans 
3895b1d16dSTijl Coosemans #include <sys/_types.h>
39*720dc6bcSMitchell Horne #include <sys/_endian.h>
4095b1d16dSTijl Coosemans 
4195b1d16dSTijl Coosemans #endif /* !_MACHINE_ENDIAN_H_ */
42