summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/reg.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2001-10-21 22:16:48 +0000
committerdes <des@FreeBSD.org>2001-10-21 22:16:48 +0000
commit68ea04e86493611196c5c3e77f3479fb9eb464c5 (patch)
treed90558a2f0e0f8b1f7dd8cd8feb4961cf92408f6 /sys/amd64/include/reg.h
parent8cf224f4f00fc7f6d522b77fda68395daa503391 (diff)
downloadFreeBSD-src-68ea04e86493611196c5c3e77f3479fb9eb464c5.zip
FreeBSD-src-68ea04e86493611196c5c3e77f3479fb9eb464c5.tar.gz
[partially forced commit due to pilot error in earlier commit attempt]
{set,fill}_{,fp,db}regs() fixup: - Add dummy {set,fill}_dbregs() on architectures that don't have them. - KSEfy the powerpc versions (struct proc -> struct thread). - Some architectures had the prototypes in md_var.h, some in reg.h, and some in both; for consistency, move them to reg.h on all platforms. These functions aren't really MD (the implementation is MD, but the interface is MI), so they should move to an MI header, but I haven't figured out which one yet. Run-tested on i386, build-tested on Alpha, untested on other platforms.
Diffstat (limited to 'sys/amd64/include/reg.h')
-rw-r--r--sys/amd64/include/reg.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/amd64/include/reg.h b/sys/amd64/include/reg.h
index f4c6ae5..3f3c774 100644
--- a/sys/amd64/include/reg.h
+++ b/sys/amd64/include/reg.h
@@ -143,10 +143,13 @@ struct dbreg {
/*
* XXX these interfaces are MI, so they should be declared in a MI place.
*/
-int set_fpregs __P((struct thread *, struct fpreg *));
-int set_regs __P((struct thread *p, struct reg *regs));
void setregs __P((struct thread *, u_long, u_long, u_long));
-int set_dbregs __P((struct thread *p, struct dbreg *dbregs));
+int fill_regs __P((struct thread *, struct reg *));
+int set_regs __P((struct thread *, struct reg *));
+int fill_fpregs __P((struct thread *, struct fpreg *));
+int set_fpregs __P((struct thread *, struct fpreg *));
+int fill_dbregs __P((struct thread *, struct dbreg *));
+int set_dbregs __P((struct thread *, struct dbreg *));
#endif
#endif /* !_MACHINE_REG_H_ */
OpenPOWER on IntegriCloud