Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/fdt Add a comment



details:   https://anonhg.NetBSD.org/src/rev/9f2f780a440b
branches:  trunk
changeset: 947567:9f2f780a440b
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Dec 18 07:37:21 2020 +0000

description:
Add a comment

diffstat:

 sys/arch/evbarm/fdt/fdt_machdep.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 0f5ebb06731c -r 9f2f780a440b sys/arch/evbarm/fdt/fdt_machdep.c
--- a/sys/arch/evbarm/fdt/fdt_machdep.c Fri Dec 18 07:34:31 2020 +0000
+++ b/sys/arch/evbarm/fdt/fdt_machdep.c Fri Dec 18 07:37:21 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdt_machdep.c,v 1.85 2020/12/18 07:34:31 skrll Exp $ */
+/* $NetBSD: fdt_machdep.c,v 1.86 2020/12/18 07:37:21 skrll Exp $ */
 
 /*-
  * Copyright (c) 2015-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdt_machdep.c,v 1.85 2020/12/18 07:34:31 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdt_machdep.c,v 1.86 2020/12/18 07:37:21 skrll Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_bootconfig.h"
@@ -627,6 +627,8 @@
        parse_mi_bootargs(boot_args);
 
        VPRINTF("Memory regions:\n");
+
+       /* Populate fdt_physmem / nfdt_physmem for initarm_common */
        fdt_memory_foreach(fdt_add_boot_physmem, &memory_size);
 
        vaddr_t sp = initarm_common(KERNEL_VM_BASE, KERNEL_VM_SIZE, fdt_physmem,



Home | Main Index | Thread Index | Old Index