No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / mips / include / sysarch.h
blob1cb297c948a4306f40298514f1d24245cc64df21
1 /* $NetBSD: sysarch.h,v 1.5.6.4 2004/11/14 08:15:16 skrll Exp $ */
3 #ifndef _MIPS_SYSARCH_H_
4 #define _MIPS_SYSARCH_H_
6 /*
7 * Architecture specific syscalls (mips)
8 */
9 #define MIPS_CACHEFLUSH 0
10 #define MIPS_CACHECTL 1
12 struct mips_cacheflush_args {
13 vaddr_t va;
14 size_t nbytes;
15 int whichcache;
18 struct mips_cachectl_args {
19 vaddr_t va;
20 size_t nbytes;
21 int ctl;
24 #ifndef _KERNEL
25 #include <sys/cdefs.h>
27 __BEGIN_DECLS
28 int sysarch(int, void *);
29 __END_DECLS
30 #endif /* !_KERNEL */
31 #endif /* !_MIPS_SYSARCH_H_ */