booke pmap: hide debug-ish printf behind bootverbose

It's not necessary during normal operation to know the mapped region size
and wasted space.
This commit is contained in:
Justin Hibbits 2018-08-19 18:54:43 +00:00
parent c1141fba00
commit 340a810bf0

View file

@ -4177,8 +4177,9 @@ tlb1_mapin_region(vm_offset_t va, vm_paddr_t pa, vm_size_t size)
}
mapped = (va - base);
printf("mapped size 0x%"PRI0ptrX" (wasted space 0x%"PRIxPTR")\n",
mapped, mapped - size);
if (bootverbose)
printf("mapped size 0x%"PRIxPTR" (wasted space 0x%"PRIxPTR")\n",
mapped, mapped - size);
return (mapped);
}