Home | History | Annotate | Line # | Download | only in include
sysarch.h revision 1.1
      1 /*	$NetBSD: sysarch.h,v 1.1 1997/06/09 11:46:17 jonathan 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 
     13 struct mips_cacheflush_args {
     14 	vm_offset_t va;
     15 	int nbytes;
     16 	int whichcache;
     17 };
     18 
     19 struct mips_cachectl_args {
     20 	vm_offset_t va;
     21 	int nbytes;
     22 	int ctl;
     23 };
     24 
     25 #ifndef _KERNEL
     26 int sysarch __P((int, char *));
     27 #endif
     28 
     29 #endif /* !_MIPS_SYSARCH_H_ */
     30