diff options
Diffstat (limited to 'sys/amd64/amd64/machdep.c')
-rw-r--r-- | sys/amd64/amd64/machdep.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 69ad6115b511..12cfb0883cba 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.307 1998/09/01 02:04:12 kato Exp $ + * $Id: machdep.c,v 1.308 1998/09/14 11:47:40 abial Exp $ */ #include "apm.h" @@ -1795,6 +1795,24 @@ set_regs(p, regs) return (0); } +int +fill_fpregs(p, fpregs) + struct proc *p; + struct fpreg *fpregs; +{ + bcopy(&p->p_addr->u_pcb.pcb_savefpu, fpregs, sizeof *fpregs); + return (0); +} + +int +set_fpregs(p, fpregs) + struct proc *p; + struct fpreg *fpregs; +{ + bcopy(fpregs, &p->p_addr->u_pcb.pcb_savefpu, sizeof *fpregs); + return (0); +} + #ifndef DDB void Debugger(const char *msg) |