diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-01-29 13:21:11 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-01-29 13:21:11 +0000 |
commit | 0f86c01644cc8c1781aac366d224a7646f89ba7b (patch) | |
tree | 62136ab8c3583d8fb50006dd1e348389e1addbe0 /sys/arch/amd64/include/reg.h | |
parent | 714673f9240f6c880f6895bf5e164d21de275464 (diff) |
check struct reg for evil; from netbsd
Diffstat (limited to 'sys/arch/amd64/include/reg.h')
-rw-r--r-- | sys/arch/amd64/include/reg.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/reg.h b/sys/arch/amd64/include/reg.h index d2ab5521203..293d1fbf403 100644 --- a/sys/arch/amd64/include/reg.h +++ b/sys/arch/amd64/include/reg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: reg.h,v 1.2 2004/01/29 12:43:35 mickey Exp $ */ +/* $OpenBSD: reg.h,v 1.3 2004/01/29 13:21:10 mickey Exp $ */ /* $NetBSD: reg.h,v 1.1 2003/04/26 18:39:47 fvdl Exp $ */ /*- @@ -125,4 +125,8 @@ struct fpreg { #define fp_st fxstate.fx_st #define fp_xmm fxstate.fx_xmm +#ifdef _KERNEL +int check_context(const struct reg *, struct trapframe *); +#endif + #endif /* !_AMD64_REG_H_ */ |