mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue