Home | History | Annotate | Line # | Download | only in include
sysarch.h revision 1.3.26.2
      1 /*	$NetBSD: sysarch.h,v 1.3.26.2 2002/08/01 02:42:31 nathanw 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