aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/accel.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-06-30 15:28:08 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-07-04 12:08:44 +0200
commit8dd5e6befc86161598eace2bfeb090c2cfb179fd (patch)
tree4cc80a4afebb70ca002cd3e5e0bb376cff47af05 /include/qemu/accel.h
parent583d1c8f1652777e7d60f09eb58c1f6378d897f1 (diff)
downloadqemu-8dd5e6befc86161598eace2bfeb090c2cfb179fd.zip
qemu-8dd5e6befc86161598eace2bfeb090c2cfb179fd.tar.gz
qemu-8dd5e6befc86161598eace2bfeb090c2cfb179fd.tar.bz2
accel: Directly pass AccelState argument to AccelClass::has_memory()
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20250703173248.44995-34-philmd@linaro.org>
Diffstat (limited to 'include/qemu/accel.h')
-rw-r--r--include/qemu/accel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/accel.h b/include/qemu/accel.h
index b9a9b35..f327a71 100644
--- a/include/qemu/accel.h
+++ b/include/qemu/accel.h
@@ -46,7 +46,7 @@ typedef struct AccelClass {
/* system related hooks */
void (*setup_post)(MachineState *ms, AccelState *accel);
- bool (*has_memory)(MachineState *ms, AddressSpace *as,
+ bool (*has_memory)(AccelState *accel, AddressSpace *as,
hwaddr start_addr, hwaddr size);
/* gdbstub related hooks */