aboutsummaryrefslogtreecommitdiff
path: root/sys/riscv/include
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2021-08-27 09:38:40 +0000
committerAndrew Turner <andrew@FreeBSD.org>2021-08-30 11:50:53 +0000
commitb792434150d66b9b2356fb9a7548f4c7f0a0f16c (patch)
treefd9dee6c0d9f0d2b1896c2620bd1e52747dcb278 /sys/riscv/include
parenta9472032211ddb06cd7d73b941c335b16550b558 (diff)
downloadsrc-b792434150d66b9b2356fb9a7548f4c7f0a0f16c.tar.gz
src-b792434150d66b9b2356fb9a7548f4c7f0a0f16c.zip
Create sys/reg.h for the common code previously in machine/reg.h
Move the common kernel function signatures from machine/reg.h to a new sys/reg.h. This is in preperation for adding PT_GETREGSET to ptrace(2). Reviewed by: imp, markj Sponsored by: DARPA, AFRL (original work) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D19830
Diffstat (limited to 'sys/riscv/include')
-rw-r--r--sys/riscv/include/reg.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/riscv/include/reg.h b/sys/riscv/include/reg.h
index 9e94b4a5768d..003e696e30e3 100644
--- a/sys/riscv/include/reg.h
+++ b/sys/riscv/include/reg.h
@@ -58,16 +58,4 @@ struct dbreg {
int dummy;
};
-#ifdef _KERNEL
-/*
- * XXX these interfaces are MI, so they should be declared in a MI place.
- */
-int fill_regs(struct thread *, struct reg *);
-int set_regs(struct thread *, struct reg *);
-int fill_fpregs(struct thread *, struct fpreg *);
-int set_fpregs(struct thread *, struct fpreg *);
-int fill_dbregs(struct thread *, struct dbreg *);
-int set_dbregs(struct thread *, struct dbreg *);
-#endif
-
#endif /* !_MACHINE_REG_H_ */