mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
plugins: Fix qemu_plugin_read_memory_vaddr parameters
The declaration uses uint64_t for addr.
Fixes: 595cd9ce2e
("plugins: add plugin API to read guest memory")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
0cd38379a8
commit
09ac62682b
1 changed files with 1 additions and 1 deletions
|
@ -561,7 +561,7 @@ GArray *qemu_plugin_get_registers(void)
|
||||||
return create_register_handles(regs);
|
return create_register_handles(regs);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool qemu_plugin_read_memory_vaddr(vaddr addr, GByteArray *data, size_t len)
|
bool qemu_plugin_read_memory_vaddr(uint64_t addr, GByteArray *data, size_t len)
|
||||||
{
|
{
|
||||||
g_assert(current_cpu);
|
g_assert(current_cpu);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue