1 /* $NetBSD: sysarch.h,v 1.3 1999/01/06 04:11:27 nisimura 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 __P((int, void *)); 27 #endif 28 29 #endif /* !_MIPS_SYSARCH_H_ */ 30