NetBSD/sys/arch/ia64/include/proc.h
kiyohara 3b90717a87 Fix type missmatch.
forgot to commit since change ia64/syscall.c,1.5.
2010-02-17 06:06:50 +00:00

29 lines
566 B
C

#ifndef _IA64_PROC_H_
#define _IA64_PROC_H_
#include <sys/user.h> /* for sizeof(struct user) */
#include <machine/frame.h>
/*
* Machine-dependent part of the lwp structure for ia64
*/
struct mdlwp {
u_long md_flags;
struct trapframe *md_tf; /* trap/syscall registers */
__volatile int md_astpending; /* AST pending for this process */
};
/*
* md_flags usage
* --------------
* XXX:
*/
struct mdproc {
/* XXX: Todo */
void (*md_syscall)(struct lwp *, u_int64_t, struct trapframe *);
/* Syscall handling function */
};
#endif /* _IA64_PROC_H_ */