xref: /freebsd/sys/crypto/aesni/aesni_os.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
1*800be1b6SCraig Rodrigues /*-
2*800be1b6SCraig Rodrigues  * Copyright 2015 Craig Rodrigues <rodrigc@FreeBSD.org>
3*800be1b6SCraig Rodrigues  * All rights reserved.
4*800be1b6SCraig Rodrigues  *
5*800be1b6SCraig Rodrigues  * Redistribution and use in source and binary forms, with or without
6*800be1b6SCraig Rodrigues  * modification, are permitted provided that the following conditions
7*800be1b6SCraig Rodrigues  * are met:
8*800be1b6SCraig Rodrigues  * 1. Redistributions of source code must retain the above copyright
9*800be1b6SCraig Rodrigues  *    notice, this list of conditions and the following disclaimer.
10*800be1b6SCraig Rodrigues  * 2. Redistributions in binary form must reproduce the above copyright
11*800be1b6SCraig Rodrigues  *    notice, this list of conditions and the following disclaimer in the
12*800be1b6SCraig Rodrigues  *    documentation and/or other materials provided with the distribution.
13*800be1b6SCraig Rodrigues  *
14*800be1b6SCraig Rodrigues  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15*800be1b6SCraig Rodrigues  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16*800be1b6SCraig Rodrigues  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17*800be1b6SCraig Rodrigues  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18*800be1b6SCraig Rodrigues  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19*800be1b6SCraig Rodrigues  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20*800be1b6SCraig Rodrigues  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21*800be1b6SCraig Rodrigues  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22*800be1b6SCraig Rodrigues  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23*800be1b6SCraig Rodrigues  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24*800be1b6SCraig Rodrigues  * SUCH DAMAGE.
25*800be1b6SCraig Rodrigues  *
26*800be1b6SCraig Rodrigues  */
27*800be1b6SCraig Rodrigues 
28*800be1b6SCraig Rodrigues #if defined(__GNUC__) && defined(_KERNEL)
29*800be1b6SCraig Rodrigues /* Suppress inclusion of gcc's mm_malloc.h header */
30*800be1b6SCraig Rodrigues #define _MM_MALLOC_H_INCLUDED 1
31*800be1b6SCraig Rodrigues #endif
32