NetBSD/sys/arch/mips/include/sysarch.h
nisimura 858e67e157 - Complete vm_offset_t purge for mips processor.
- bzero() -> memset() and bcopy() -> memcpy().
- Garbage collection in trap.c and db_interface.c.
1999-01-06 04:11:25 +00:00

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_ */