blob: 6f585d667eef8f5d6a08fcbfa332734c48a44458 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/* $NetBSD: sysarch.h,v 1.6 2003/09/11 09:40:13 kleink 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
#include <sys/cdefs.h>
__BEGIN_DECLS
int sysarch(int, void *);
__END_DECLS
#endif /* !_KERNEL */
#endif /* !_MIPS_SYSARCH_H_ */
|