Home | History | Annotate | Line # | Download | only in include
sysarch.h revision 1.6
      1 /*	$NetBSD: sysarch.h,v 1.6 2003/09/11 09:40:13 kleink 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 #include <sys/cdefs.h>
     26 
     27 __BEGIN_DECLS
     28 int sysarch(int, void *);
     29 __END_DECLS
     30 #endif /* !_KERNEL */
     31 #endif /* !_MIPS_SYSARCH_H_ */
     32