diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-06-30 15:28:08 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-07-04 15:22:04 +0200 |
commit | 14784d00ce6643077d3b9f24c19cb2882c173ff2 (patch) | |
tree | 93810ea5ae788d965e22a443ae3637d9d06f6896 /include/qemu/accel.h | |
parent | 6b1ce32fee6879d1d09070dfde0d14cbbeaced5c (diff) | |
download | qemu-14784d00ce6643077d3b9f24c19cb2882c173ff2.zip qemu-14784d00ce6643077d3b9f24c19cb2882c173ff2.tar.gz qemu-14784d00ce6643077d3b9f24c19cb2882c173ff2.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>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-Id: <20250703173248.44995-34-philmd@linaro.org>
Diffstat (limited to 'include/qemu/accel.h')
-rw-r--r-- | include/qemu/accel.h | 2 |
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 */ |