Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/dev/dtrace/aarch64 (missed in pervious c...



details:   https://anonhg.NetBSD.org/src/rev/c23770ebbf38
branches:  trunk
changeset: 374285:c23770ebbf38
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Apr 17 06:57:02 2023 +0000

description:
(missed in pervious commit)

Rename VM_KERNEL_IO_ADDRESS to VM_KERNEL_IO_BASE to match RISC-V

It's less letters, matches other similar variables and will help with
sharing code between the two architectures.

NFCI.

diffstat:

 external/cddl/osnet/dev/dtrace/aarch64/dtrace_subr.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r bc05715f6622 -r c23770ebbf38 external/cddl/osnet/dev/dtrace/aarch64/dtrace_subr.c
--- a/external/cddl/osnet/dev/dtrace/aarch64/dtrace_subr.c      Mon Apr 17 06:48:07 2023 +0000
+++ b/external/cddl/osnet/dev/dtrace/aarch64/dtrace_subr.c      Mon Apr 17 06:57:02 2023 +0000
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dtrace_subr.c,v 1.5 2021/04/06 12:48:36 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dtrace_subr.c,v 1.6 2023/04/17 06:57:02 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -129,7 +129,7 @@ dtrace_toxic_ranges(void (*func)(uintptr
 {
 
        (*func)(0, (uintptr_t)AARCH64_DIRECTMAP_START);
-       (*func)((uintptr_t)VM_KERNEL_IO_ADDRESS, ~(uintptr_t)0);
+       (*func)((uintptr_t)VM_KERNEL_IO_BASE, ~(uintptr_t)0);
 }
 
 static void



Home | Main Index | Thread Index | Old Index