xref: /freebsd/sys/powerpc/include/sysarch.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
1b6f38367SMarcel Moolenaar /*-
2*51369649SPedro F. Giffuni  * SPDX-License-Identifier: BSD-3-Clause
3*51369649SPedro F. Giffuni  *
4b6f38367SMarcel Moolenaar  * Copyright (c) 1993 The Regents of the University of California.
5b6f38367SMarcel Moolenaar  * All rights reserved.
6b6f38367SMarcel Moolenaar  *
7b6f38367SMarcel Moolenaar  * Redistribution and use in source and binary forms, with or without
8b6f38367SMarcel Moolenaar  * modification, are permitted provided that the following conditions
9b6f38367SMarcel Moolenaar  * are met:
10b6f38367SMarcel Moolenaar  * 1. Redistributions of source code must retain the above copyright
11b6f38367SMarcel Moolenaar  *    notice, this list of conditions and the following disclaimer.
12b6f38367SMarcel Moolenaar  * 2. Redistributions in binary form must reproduce the above copyright
13b6f38367SMarcel Moolenaar  *    notice, this list of conditions and the following disclaimer in the
14b6f38367SMarcel Moolenaar  *    documentation and/or other materials provided with the distribution.
15b6f38367SMarcel Moolenaar  * 3. Neither the name of the University nor the names of its contributors
16b6f38367SMarcel Moolenaar  *    may be used to endorse or promote products derived from this software
17b6f38367SMarcel Moolenaar  *    without specific prior written permission.
18b6f38367SMarcel Moolenaar  *
19b6f38367SMarcel Moolenaar  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
20b6f38367SMarcel Moolenaar  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21b6f38367SMarcel Moolenaar  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22b6f38367SMarcel Moolenaar  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
23b6f38367SMarcel Moolenaar  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24b6f38367SMarcel Moolenaar  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25b6f38367SMarcel Moolenaar  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26b6f38367SMarcel Moolenaar  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27b6f38367SMarcel Moolenaar  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28b6f38367SMarcel Moolenaar  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29b6f38367SMarcel Moolenaar  * SUCH DAMAGE.
30b6f38367SMarcel Moolenaar  */
31b6f38367SMarcel Moolenaar 
32b6f38367SMarcel Moolenaar #ifndef _MACHINE_SYSARCH_H_
33b6f38367SMarcel Moolenaar #define	_MACHINE_SYSARCH_H_
34b6f38367SMarcel Moolenaar 
35b6f38367SMarcel Moolenaar #ifndef _KERNEL
36b6f38367SMarcel Moolenaar #include <sys/cdefs.h>
37b6f38367SMarcel Moolenaar 
38b6f38367SMarcel Moolenaar __BEGIN_DECLS
39b6f38367SMarcel Moolenaar int	sysarch(int, void *);
40b6f38367SMarcel Moolenaar __END_DECLS
41b6f38367SMarcel Moolenaar #endif
42b6f38367SMarcel Moolenaar 
43b6f38367SMarcel Moolenaar #endif /* !_MACHINE_SYSARCH_H_ */
44