summaryrefslogtreecommitdiffstats
path: root/sys/mips/include/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/mips/include/proc.h')
-rw-r--r--sys/mips/include/proc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/mips/include/proc.h b/sys/mips/include/proc.h
index 11a1f8e..4c0b0b6 100644
--- a/sys/mips/include/proc.h
+++ b/sys/mips/include/proc.h
@@ -67,11 +67,22 @@ struct mdproc {
/* empty */
};
+#ifdef _KERNEL
struct thread;
void mips_cpu_switch(struct thread *, struct thread *, struct mtx *);
void mips_cpu_throw(struct thread *, struct thread *);
+struct syscall_args {
+ u_int code;
+ struct sysent *callp;
+ register_t args[8];
+ int narg;
+ struct trapframe *trapframe;
+};
+#define HAVE_SYSCALL_ARGS_DEF 1
+#endif
+
#ifdef __mips_n64
#define KINFO_PROC_SIZE 1088
#else
OpenPOWER on IntegriCloud