Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/aarch64/aarch64 More debug
details: https://anonhg.NetBSD.org/src/rev/e68bc70dd7cf
branches: trunk
changeset: 953930:e68bc70dd7cf
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Mar 25 07:31:56 2021 +0000
description:
More debug
diffstat:
sys/arch/aarch64/aarch64/aarch64_machdep.c | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diffs (49 lines):
diff -r c512ac83e406 -r e68bc70dd7cf sys/arch/aarch64/aarch64/aarch64_machdep.c
--- a/sys/arch/aarch64/aarch64/aarch64_machdep.c Thu Mar 25 07:30:16 2021 +0000
+++ b/sys/arch/aarch64/aarch64/aarch64_machdep.c Thu Mar 25 07:31:56 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aarch64_machdep.c,v 1.59 2021/03/25 07:30:16 skrll Exp $ */
+/* $NetBSD: aarch64_machdep.c,v 1.60 2021/03/25 07:31:56 skrll Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: aarch64_machdep.c,v 1.59 2021/03/25 07:30:16 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: aarch64_machdep.c,v 1.60 2021/03/25 07:31:56 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_cpuoptions.h"
@@ -251,7 +251,7 @@
vaddr_t kernstart, kernend;
vaddr_t kernstart_l2 __unused, kernend_l2; /* L2 table 2MB aligned */
vaddr_t kernelvmstart;
- int i;
+ size_t i;
cputype = cpu_idnum(); /* for compatible arm */
@@ -382,6 +382,10 @@
end = start + bootconfig.dram[i].pages;
int vm_freelist = VM_FREELIST_DEFAULT;
+
+ VPRINTF("block %2zu start %08lx end %08lx\n", i, ptoa(start),
+ ptoa(end));
+
/*
* This assumes the bp list is sorted in ascending
* order.
@@ -404,6 +408,10 @@
}
vm_freelist = bp[j].bp_freelist;
+ VPRINTF(" start %08lx end %08lx"
+ "... loading in freelist %d\n", ptoa(start),
+ ptoa(segend), vm_freelist);
+
uvm_page_physload(start, segend, start, segend,
vm_freelist);
memsize_total += ptoa(segend - start);
Home |
Main Index |
Thread Index |
Old Index