diff options
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r-- | sys/arch/i386/include/ptrace.h | 11 | ||||
-rw-r--r-- | sys/arch/i386/include/reg.h | 6 |
2 files changed, 15 insertions, 2 deletions
diff --git a/sys/arch/i386/include/ptrace.h b/sys/arch/i386/include/ptrace.h index e1a6affc732..ff34a920992 100644 --- a/sys/arch/i386/include/ptrace.h +++ b/sys/arch/i386/include/ptrace.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ptrace.h,v 1.2 2000/08/05 22:07:32 niklas Exp $ */ +/* $OpenBSD: ptrace.h,v 1.3 2005/04/03 20:21:44 kettenis Exp $ */ /* $NetBSD: ptrace.h,v 1.6 1995/08/06 05:33:23 mycroft Exp $ */ /* @@ -39,3 +39,12 @@ #define PT_SETREGS (PT_FIRSTMACH + 2) #define PT_GETFPREGS (PT_FIRSTMACH + 3) #define PT_SETFPREGS (PT_FIRSTMACH + 4) +#define PT_GETXMMREGS (PT_FIRSTMACH + 5) +#define PT_SETXMMREGS (PT_FIRSTMACH + 6) + +#ifdef _KERNEL +struct xmmregs; + +int process_read_xmmregs(struct proc *, struct xmmregs *); +int process_write_xmmregs(struct proc *, const struct xmmregs *); +#endif diff --git a/sys/arch/i386/include/reg.h b/sys/arch/i386/include/reg.h index cafcc14b87c..2b92eb0d520 100644 --- a/sys/arch/i386/include/reg.h +++ b/sys/arch/i386/include/reg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: reg.h,v 1.5 2005/02/17 18:07:35 jfb Exp $ */ +/* $OpenBSD: reg.h,v 1.6 2005/04/03 20:21:44 kettenis Exp $ */ /* $NetBSD: reg.h,v 1.14 1995/10/11 04:20:24 mycroft Exp $ */ /*- @@ -96,4 +96,8 @@ struct fpreg { char __data[116]; }; +struct xmmregs { + char __data[512]; +}; + #endif /* !_I386_REG_H_ */ |