xref: /netbsd/sys/arch/mips/include/sysarch.h (revision c4a72b64)
1 /*	$NetBSD: sysarch.h,v 1.5 2002/07/19 03:13:55 simonb 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 
12 struct mips_cacheflush_args {
13 	vaddr_t va;
14 	int nbytes;
15 	int whichcache;
16 };
17 
18 struct mips_cachectl_args {
19 	vaddr_t va;
20 	int nbytes;
21 	int ctl;
22 };
23 
24 #ifndef _KERNEL
25 int sysarch(int, void *);
26 #endif /* !_KERNEL */
27 #endif /* !_MIPS_SYSARCH_H_ */
28