kernel/vm: Add "unimplemented" messages in VMTranslationMap::Debug methods.

This way, when certain KDL commands don't work on architectures that
don't implement these methods, it won't be a mystery as to why.
This commit is contained in:
Augustin Cavalier
2024-09-16 16:00:01 -04:00
parent d29c0e6ee5
commit f6313044f1
@@ -126,6 +126,7 @@ VMTranslationMap::UnmapArea(VMArea* area, bool deletingAddressSpace,
void void
VMTranslationMap::DebugPrintMappingInfo(addr_t virtualAddress) VMTranslationMap::DebugPrintMappingInfo(addr_t virtualAddress)
{ {
kprintf("VMTranslationMap::DebugPrintMappingInfo not implemented\n");
} }
@@ -145,6 +146,7 @@ bool
VMTranslationMap::DebugGetReverseMappingInfo(phys_addr_t physicalAddress, VMTranslationMap::DebugGetReverseMappingInfo(phys_addr_t physicalAddress,
ReverseMappingInfoCallback& callback) ReverseMappingInfoCallback& callback)
{ {
kprintf("VMTranslationMap::DebugGetReverseMappingInfo not implemented\n");
return false; return false;
} }