changeset 20587:3ca5d7fa0f0e

10204 uts: add dboot map debug printf Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Robert Mustacchi <rm@joyent.com>
author Toomas Soome <tsoome@me.com>
date Tue, 02 May 2017 21:43:54 +0300
parents 3d5baab6151f
children 984557463fd0
files usr/src/uts/i86pc/dboot/dboot_startkern.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/i86pc/dboot/dboot_startkern.c	Thu Jan 10 17:08:45 2019 +0300
+++ b/usr/src/uts/i86pc/dboot/dboot_startkern.c	Tue May 02 21:43:54 2017 +0300
@@ -2038,6 +2038,9 @@
 		end = start + fb->framebuffer_common.framebuffer_height *
 		    fb->framebuffer_common.framebuffer_pitch;
 
+		if (map_debug)
+			dboot_printf("FB 1:1 map pa=%" PRIx64 "..%" PRIx64 "\n",
+			    start, end);
 		pte_bits |= PT_NOCACHE;
 		while (start < end) {
 			map_pa_at_va(start, start, 0);