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