kernel/vm: Only print "not implemented" messages in VMTranslationMap under KDEBUG.

Change-Id: I63e3c71b40d3ff5ae4a272fbbb1da96d7d2d8f38
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8443
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Augustin Cavalier
2024-10-10 20:07:14 +00:00
committed by waddlesplash
parent 9e3eeba450
commit d2b9dcde31
@@ -126,7 +126,9 @@ VMTranslationMap::UnmapArea(VMArea* area, bool deletingAddressSpace,
void
VMTranslationMap::DebugPrintMappingInfo(addr_t virtualAddress)
{
#if KDEBUG
kprintf("VMTranslationMap::DebugPrintMappingInfo not implemented\n");
#endif
}
@@ -146,7 +148,9 @@ bool
VMTranslationMap::DebugGetReverseMappingInfo(phys_addr_t physicalAddress,
ReverseMappingInfoCallback& callback)
{
#if KDEBUG
kprintf("VMTranslationMap::DebugGetReverseMappingInfo not implemented\n");
#endif
return false;
}