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:
committed by
waddlesplash
parent
9e3eeba450
commit
d2b9dcde31
@@ -126,7 +126,9 @@ VMTranslationMap::UnmapArea(VMArea* area, bool deletingAddressSpace,
|
|||||||
void
|
void
|
||||||
VMTranslationMap::DebugPrintMappingInfo(addr_t virtualAddress)
|
VMTranslationMap::DebugPrintMappingInfo(addr_t virtualAddress)
|
||||||
{
|
{
|
||||||
|
#if KDEBUG
|
||||||
kprintf("VMTranslationMap::DebugPrintMappingInfo not implemented\n");
|
kprintf("VMTranslationMap::DebugPrintMappingInfo not implemented\n");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -146,7 +148,9 @@ bool
|
|||||||
VMTranslationMap::DebugGetReverseMappingInfo(phys_addr_t physicalAddress,
|
VMTranslationMap::DebugGetReverseMappingInfo(phys_addr_t physicalAddress,
|
||||||
ReverseMappingInfoCallback& callback)
|
ReverseMappingInfoCallback& callback)
|
||||||
{
|
{
|
||||||
|
#if KDEBUG
|
||||||
kprintf("VMTranslationMap::DebugGetReverseMappingInfo not implemented\n");
|
kprintf("VMTranslationMap::DebugGetReverseMappingInfo not implemented\n");
|
||||||
|
#endif
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user