NetBSD/sys/arch/mips/include/sysarch.h

30 lines
450 B
C

/* $NetBSD: sysarch.h,v 1.3 1999/01/06 04:11:27 nisimura Exp $ */
#ifndef _MIPS_SYSARCH_H_
#define _MIPS_SYSARCH_H_
/*
* Architecture specific syscalls (mips)
*/
#define MIPS_CACHEFLUSH 0
#define MIPS_CACHECTL 1
struct mips_cacheflush_args {
vaddr_t va;
int nbytes;
int whichcache;
};
struct mips_cachectl_args {
vaddr_t va;
int nbytes;
int ctl;
};
#ifndef _KERNEL
int sysarch __P((int, void *));
#endif
#endif /* !_MIPS_SYSARCH_H_ */