svn commit: r353453 - head/sys/riscv/riscv

Philip Paeps philip at FreeBSD.org
Sat Oct 12 18:18:12 UTC 2019


Author: philip
Date: Sat Oct 12 18:18:11 2019
New Revision: 353453
URL: https://svnweb.freebsd.org/changeset/base/353453

Log:
  A comment in subr_devmap.c mentions that devmap_print_table() should
  be called on bootverbose.  Do so on RISV-V too.
  
  Submitted by:	Nicholas O'Brien <nickisobrien_gmail.com>
  Reviewed by:	imp, kp
  Sponsored by:	Axiado
  Differential Revision:	https://reviews.freebsd.org/D21998

Modified:
  head/sys/riscv/riscv/machdep.c

Modified: head/sys/riscv/riscv/machdep.c
==============================================================================
--- head/sys/riscv/riscv/machdep.c	Sat Oct 12 17:57:03 2019	(r353452)
+++ head/sys/riscv/riscv/machdep.c	Sat Oct 12 18:18:11 2019	(r353453)
@@ -158,6 +158,8 @@ cpu_startup(void *dummy)
 	printf("avail memory = %ju (%ju MB)\n",
 	    ptoa((uintmax_t)vm_free_count()),
 	    ptoa((uintmax_t)vm_free_count()) / (1024 * 1024));
+	if (bootverbose)
+		devmap_print_table();
 
 	bufinit();
 	vm_pager_bufferinit();


More information about the svn-src-head mailing list