mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-17 10:38:52 +00:00
loader: Abstract away ref to memory region names
Use the function provided rather than spying on the struct. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
c54779f962
commit
401cf7fdc4
@ -955,7 +955,7 @@ void do_info_roms(Monitor *mon, const QDict *qdict)
|
||||
if (rom->mr) {
|
||||
monitor_printf(mon, "%s"
|
||||
" size=0x%06zx name=\"%s\"\n",
|
||||
rom->mr->name,
|
||||
memory_region_name(rom->mr),
|
||||
rom->romsize,
|
||||
rom->name);
|
||||
} else if (!rom->fw_file) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user