Home | History | Annotate | Line # | Download | only in include
sysarch.h revision 1.4
      1 /*	$NetBSD: sysarch.h,v 1.4 2002/03/05 14:12:30 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 
     13 struct mips_cacheflush_args {
     14 	vaddr_t va;
     15 	int nbytes;
     16 	int whichcache;
     17 };
     18 
     19 struct mips_cachectl_args {
     20 	vaddr_t va;
     21 	int nbytes;
     22 	int ctl;
     23 };
     24 
     25 #ifndef _KERNEL
     26 int sysarch(int, void *);
     27 #endif
     28 
     29 #endif /* !_MIPS_SYSARCH_H_ */
     30