xref: /netbsd-src/sys/arch/ia64/include/proc.h (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1 /*	$NetBSD: proc.h,v 1.6 2011/01/14 02:06:27 rmind Exp $	*/
2 
3 #ifndef _IA64_PROC_H_
4 #define _IA64_PROC_H_
5 
6 #include <machine/frame.h>
7 
8 /*
9  * Machine-dependent part of the lwp structure for ia64
10  */
11 struct mdlwp {
12 	u_long	md_flags;
13 	struct	trapframe *md_tf;	/* trap/syscall registers */
14 	__volatile int md_astpending;	/* AST pending for this process */
15 };
16 
17 /*
18  * md_flags usage
19  * --------------
20  * XXX:
21  */
22 
23 struct mdproc {
24   /* XXX: Todo */
25 	void	(*md_syscall)(struct lwp *, u_int64_t, struct trapframe *);
26 					/* Syscall handling function */
27 };
28 
29 #endif /* _IA64_PROC_H_ */
30