summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-05-13 19:31:55 +0200
committerAlex Bennée2020-05-15 16:25:16 +0200
commit308e7549642eb74b9671b94dd56d1e20773c358a (patch)
treef295ae4d6924cde25b1df1c156547aed38922495 /include
parentqemu/plugin: Move !CONFIG_PLUGIN stubs altogether (diff)
downloadqemu-308e7549642eb74b9671b94dd56d1e20773c358a.tar.gz
qemu-308e7549642eb74b9671b94dd56d1e20773c358a.tar.xz
qemu-308e7549642eb74b9671b94dd56d1e20773c358a.zip
qemu/qemu-plugin: Make qemu_plugin_hwaddr_is_io() hwaddr argument const
Rename qemu_plugin_hwaddr_is_io() address argument 'haddr' similarly to qemu_plugin_hwaddr_device_offset(), and make it const. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20200510171119.20827-4-f4bug@amsat.org> Message-Id: <20200513173200.11830-4-alex.bennee@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/qemu/qemu-plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/qemu-plugin.h b/include/qemu/qemu-plugin.h
index 5502e112c8..89ed579f55 100644
--- a/include/qemu/qemu-plugin.h
+++ b/include/qemu/qemu-plugin.h
@@ -331,7 +331,7 @@ struct qemu_plugin_hwaddr *qemu_plugin_get_hwaddr(qemu_plugin_meminfo_t info,
* to return information about it. For non-IO accesses the device
* offset will be into the appropriate block of RAM.
*/
-bool qemu_plugin_hwaddr_is_io(struct qemu_plugin_hwaddr *hwaddr);
+bool qemu_plugin_hwaddr_is_io(const struct qemu_plugin_hwaddr *haddr);
uint64_t qemu_plugin_hwaddr_device_offset(const struct qemu_plugin_hwaddr *haddr);
typedef void