1/*	$NetBSD: sysarch.h,v 1.8.96.1 2010/05/15 20:27:48 matt Exp $ */
2
3#ifndef _MIPS_SYSARCH_H_
4#define _MIPS_SYSARCH_H_
5
6/*
7 * Architecture specific syscalls (mips)
8 */
9#define MIPS_CACHEFLUSH	0
10#define MIPS_CACHECTL	1
11
12struct mips_cacheflush_args {
13	vaddr_t va;
14	size_t nbytes;
15	int whichcache;
16};
17
18struct mips_cachectl_args {
19	vaddr_t va;
20	size_t nbytes;
21	int ctl;
22};
23
24#ifndef _KERNEL
25#include <sys/cdefs.h>
26
27__BEGIN_DECLS
28int sysarch(int, void *);
29__END_DECLS
30#endif /* !_KERNEL */
31#endif /* !_MIPS_SYSARCH_H_ */
32