svn commit: r356854 - stable/12/sys/cddl/dev/dtrace/arm
Ian Lepore
ian at FreeBSD.org
Fri Jan 17 22:24:57 UTC 2020
Author: ian
Date: Fri Jan 17 22:24:56 2020
New Revision: 356854
URL: https://svnweb.freebsd.org/changeset/base/356854
Log:
MFC r356574:
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.
Modified:
stable/12/sys/cddl/dev/dtrace/arm/dtrace_subr.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/cddl/dev/dtrace/arm/dtrace_subr.c
==============================================================================
--- stable/12/sys/cddl/dev/dtrace/arm/dtrace_subr.c Fri Jan 17 22:21:38 2020 (r356853)
+++ stable/12/sys/cddl/dev/dtrace/arm/dtrace_subr.c Fri Jan 17 22:24:56 2020 (r356854)
@@ -123,7 +123,18 @@ dtrace_invop_remove(int (*func)(uintptr_t, struct trap
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
More information about the svn-src-stable-12
mailing list