diff options
author | jdp <jdp@FreeBSD.org> | 1998-09-14 22:43:40 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1998-09-14 22:43:40 +0000 |
commit | 60718890ae203c5e84c8b90f13763bf7a87e7afb (patch) | |
tree | 3631f22c088f449c222f0399cb2d77033762962b /sys/amd64/include/reg.h | |
parent | bf32f01fb996d7e78702cb9d770b1459c413f597 (diff) | |
download | FreeBSD-src-60718890ae203c5e84c8b90f13763bf7a87e7afb.zip FreeBSD-src-60718890ae203c5e84c8b90f13763bf7a87e7afb.tar.gz |
Add new functions fill_fpregs() and set_fpregs(), like fill_regs()
and set_regs() but for the floating point register state. The code
is stolen from procfs_machdep.c, and moved out of there into
machdep.c.
These functions are needed for generating ELF core dumps.
Diffstat (limited to 'sys/amd64/include/reg.h')
-rw-r--r-- | sys/amd64/include/reg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/amd64/include/reg.h b/sys/amd64/include/reg.h index 5d36f27..3e97fc1 100644 --- a/sys/amd64/include/reg.h +++ b/sys/amd64/include/reg.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)reg.h 5.5 (Berkeley) 1/18/91 - * $Id: reg.h,v 1.14 1997/06/07 00:49:45 bde Exp $ + * $Id: reg.h,v 1.15 1997/06/07 04:36:06 bde Exp $ */ #ifndef _MACHINE_REG_H_ @@ -122,6 +122,7 @@ struct fpreg { /* * XXX these interfaces are MI, so they should be declared in a MI place. */ +int set_fpregs __P((struct proc *, struct fpreg *)); int set_regs __P((struct proc *p, struct reg *regs)); void setregs __P((struct proc *, u_long, u_long)); #endif |