mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
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:
parent
c1141fba00
commit
340a810bf0
1 changed files with 3 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue