1998-02-26 00:24:56 +03:00
|
|
|
/* $NetBSD: sysarch.h,v 1.2 1998/02/25 21:27:47 perry Exp $ */
|
1997-06-09 15:46:16 +04:00
|
|
|
|
|
|
|
#ifndef _MIPS_SYSARCH_H_
|
|
|
|
#define _MIPS_SYSARCH_H_
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Architecture specific syscalls (mips)
|
|
|
|
*/
|
|
|
|
#define MIPS_CACHEFLUSH 0
|
|
|
|
#define MIPS_CACHECTL 1
|
|
|
|
|
|
|
|
|
|
|
|
struct mips_cacheflush_args {
|
|
|
|
vm_offset_t va;
|
|
|
|
int nbytes;
|
|
|
|
int whichcache;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct mips_cachectl_args {
|
|
|
|
vm_offset_t va;
|
|
|
|
int nbytes;
|
|
|
|
int ctl;
|
|
|
|
};
|
|
|
|
|
|
|
|
#ifndef _KERNEL
|
1998-02-26 00:24:56 +03:00
|
|
|
int sysarch __P((int, void *));
|
1997-06-09 15:46:16 +04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* !_MIPS_SYSARCH_H_ */
|