memctrlbase: Log mirror range.

Because it may differ from the range of the region it points to.
This commit is contained in:
joevt
2025-04-14 03:09:16 -07:00
committed by dingusdev
parent fa7fb5bb1f
commit fa865a79fc
+2 -1
View File
@@ -77,7 +77,8 @@ static std::string get_entry_str(const AddressMapEntry* entry) {
if (entry->devobj)
str += " (" + entry->devobj->get_name() + ")";
if (entry->type & RT_MIRROR) {
snprintf(buf, sizeof(buf), " -> 0x%08X", entry->mirror);
snprintf(buf, sizeof(buf), " -> 0x%08X..0x%08X", entry->mirror,
entry->mirror + entry->end - entry->start);
str += std::string(buf);
}
} else {