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:
@@ -126,6 +126,7 @@ VMTranslationMap::UnmapArea(VMArea* area, bool deletingAddressSpace,
|
||||
void
|
||||
VMTranslationMap::DebugPrintMappingInfo(addr_t virtualAddress)
|
||||
{
|
||||
kprintf("VMTranslationMap::DebugPrintMappingInfo not implemented\n");
|
||||
}
|
||||
|
||||
|
||||
@@ -145,6 +146,7 @@ bool
|
||||
VMTranslationMap::DebugGetReverseMappingInfo(phys_addr_t physicalAddress,
|
||||
ReverseMappingInfoCallback& callback)
|
||||
{
|
||||
kprintf("VMTranslationMap::DebugGetReverseMappingInfo not implemented\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user