aboutsummaryrefslogtreecommitdiff
path: root/sys/cddl/dev
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2020-01-09 22:51:37 +0000
committerIan Lepore <ian@FreeBSD.org>2020-01-09 22:51:37 +0000
commit8bfc473c0e62b34f3c9a5887f054e1e10e550e96 (patch)
tree8a6cd8a0fcc1f7cf49b421fad0e422066a675415 /sys/cddl/dev
parent20698d1531626524769ef62af5b4549366d7b05a (diff)
downloadsrc-8bfc473c0e62b34f3c9a5887f054e1e10e550e96.tar.gz
src-8bfc473c0e62b34f3c9a5887f054e1e10e550e96.zip
Remove scary-looking printf output that happens when you kldload dtrace on
arm. Replace it with a comment block explaining why the function is empty on 32-bit arm.
Notes
Notes: svn path=/head/; revision=356574
Diffstat (limited to 'sys/cddl/dev')
-rw-r--r--sys/cddl/dev/dtrace/arm/dtrace_subr.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/cddl/dev/dtrace/arm/dtrace_subr.c b/sys/cddl/dev/dtrace/arm/dtrace_subr.c
index e2833131fcb8..be999e3a07a9 100644
--- a/sys/cddl/dev/dtrace/arm/dtrace_subr.c
+++ b/sys/cddl/dev/dtrace/arm/dtrace_subr.c
@@ -123,7 +123,18 @@ dtrace_invop_remove(int (*func)(uintptr_t, struct trapframe *, uintptr_t))
void
dtrace_toxic_ranges(void (*func)(uintptr_t base, uintptr_t limit))
{
- printf("IMPLEMENT ME: dtrace_toxic_ranges\n");
+
+ /*
+ * There are no ranges to exclude that are common to all 32-bit arm
+ * platforms. This function only needs to exclude ranges "... in
+ * which it is impossible to recover from such a load after it has been
+ * attempted." -- i.e., accessing within the range causes some sort
+ * fault in the system which is not handled by the normal arm
+ * exception-handling mechanisms. If systems exist where that is the
+ * case, a method to handle this functionality would have to be added to
+ * the platform_if interface so that those systems could provide their
+ * specific toxic range(s).
+ */
}
void