xref: /freebsd/sys/arm64/include/sysarch.h (revision d5d97bed)
1147b9d04SAndrew Turner /*-
2147b9d04SAndrew Turner  * Copyright (c) 1993 The Regents of the University of California.
3147b9d04SAndrew Turner  * All rights reserved.
4147b9d04SAndrew Turner  *
5147b9d04SAndrew Turner  * Redistribution and use in source and binary forms, with or without
6147b9d04SAndrew Turner  * modification, are permitted provided that the following conditions
7147b9d04SAndrew Turner  * are met:
8147b9d04SAndrew Turner  * 1. Redistributions of source code must retain the above copyright
9147b9d04SAndrew Turner  *    notice, this list of conditions and the following disclaimer.
10147b9d04SAndrew Turner  * 2. Redistributions in binary form must reproduce the above copyright
11147b9d04SAndrew Turner  *    notice, this list of conditions and the following disclaimer in the
12147b9d04SAndrew Turner  *    documentation and/or other materials provided with the distribution.
13147b9d04SAndrew Turner  * 3. Neither the name of the University nor the names of its contributors
14147b9d04SAndrew Turner  *    may be used to endorse or promote products derived from this software
15147b9d04SAndrew Turner  *    without specific prior written permission.
16147b9d04SAndrew Turner  *
17147b9d04SAndrew Turner  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
18147b9d04SAndrew Turner  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19147b9d04SAndrew Turner  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20147b9d04SAndrew Turner  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
21147b9d04SAndrew Turner  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22147b9d04SAndrew Turner  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23147b9d04SAndrew Turner  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24147b9d04SAndrew Turner  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25147b9d04SAndrew Turner  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26147b9d04SAndrew Turner  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27147b9d04SAndrew Turner  * SUCH DAMAGE.
28147b9d04SAndrew Turner  *
29147b9d04SAndrew Turner  *	from: FreeBSD: src/sys/i386/include/sysarch.h,v 1.14 2000/09/21
30147b9d04SAndrew Turner  * $FreeBSD$
31147b9d04SAndrew Turner  */
32147b9d04SAndrew Turner 
33*d5d97bedSMike Karels #ifdef __arm__
34*d5d97bedSMike Karels #include <arm/sysarch.h>
35*d5d97bedSMike Karels #else /* !__arm__ */
36*d5d97bedSMike Karels 
37147b9d04SAndrew Turner /*
38147b9d04SAndrew Turner  * Architecture specific syscalls (arm64)
39147b9d04SAndrew Turner  */
40147b9d04SAndrew Turner #ifndef _MACHINE_SYSARCH_H_
41147b9d04SAndrew Turner #define	_MACHINE_SYSARCH_H_
42147b9d04SAndrew Turner 
43147b9d04SAndrew Turner #ifndef _KERNEL
44147b9d04SAndrew Turner 
45147b9d04SAndrew Turner __BEGIN_DECLS
46147b9d04SAndrew Turner int	sysarch(int _number, void *_args);
47147b9d04SAndrew Turner __END_DECLS
48147b9d04SAndrew Turner 
49147b9d04SAndrew Turner #endif
50147b9d04SAndrew Turner 
51147b9d04SAndrew Turner #endif /* !_MACHINE_SYSARCH_H_ */
52*d5d97bedSMike Karels 
53*d5d97bedSMike Karels #endif /* !__arm__ */
54