diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-02-19 20:32:30 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-02-20 14:47:08 +0100 |
commit | 28c80bfe8b9c2343d5b6a488cf013352d8ea59d1 (patch) | |
tree | f1b4cde9efd59f374c7a18e7410cec54eb17dfd4 /include/exec/cpu-all.h | |
parent | 19f703477314a5db09ffc3c0f6be9c45645f8302 (diff) | |
download | qemu-28c80bfe8b9c2343d5b6a488cf013352d8ea59d1.zip qemu-28c80bfe8b9c2343d5b6a488cf013352d8ea59d1.tar.gz qemu-28c80bfe8b9c2343d5b6a488cf013352d8ea59d1.tar.bz2 |
exec: Let cpu_[physical]_memory API use a boolean 'is_write' argument
The 'is_write' argument is either 0 or 1.
Convert it to a boolean type.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'include/exec/cpu-all.h')
-rw-r--r-- | include/exec/cpu-all.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h index 49e96ca..49384bb 100644 --- a/include/exec/cpu-all.h +++ b/include/exec/cpu-all.h @@ -388,7 +388,7 @@ void dump_opcount_info(void); #endif /* !CONFIG_USER_ONLY */ int cpu_memory_rw_debug(CPUState *cpu, target_ulong addr, - void *ptr, target_ulong len, int is_write); + void *ptr, target_ulong len, bool is_write); int cpu_exec(CPUState *cpu); |