mirror of https://github.com/xqemu/xqemu.git
register: display register prefix (name) since it is available
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
1f6fb58d05
commit
016b4a93e7
|
@ -195,8 +195,8 @@ void register_write_memory(void *opaque, hwaddr addr,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!reg) {
|
if (!reg) {
|
||||||
qemu_log_mask(LOG_GUEST_ERROR, "Write to unimplemented register at " \
|
qemu_log_mask(LOG_GUEST_ERROR, "%s: write to unimplemented register " \
|
||||||
"address: %#" PRIx64 "\n", addr);
|
"at address: %#" PRIx64 "\n", reg_array->prefix, addr);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -224,8 +224,8 @@ uint64_t register_read_memory(void *opaque, hwaddr addr,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!reg) {
|
if (!reg) {
|
||||||
qemu_log_mask(LOG_GUEST_ERROR, "Read to unimplemented register at " \
|
qemu_log_mask(LOG_GUEST_ERROR, "%s: read to unimplemented register " \
|
||||||
"address: %#" PRIx64 "\n", addr);
|
"at address: %#" PRIx64 "\n", reg_array->prefix, addr);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue