exec: Let the cpu_[physical]_memory API use void pointer arguments

As we are only dealing with a blob buffer, use a void pointer
argument. This will let us simplify other APIs.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
This commit is contained in:
Philippe Mathieu-Daudé 2020-02-19 20:02:11 +01:00
parent b7cbebf2b9
commit d7ef71ef42
3 changed files with 7 additions and 5 deletions

View file

@ -388,7 +388,7 @@ void dump_opcount_info(void);
#endif /* !CONFIG_USER_ONLY */
int cpu_memory_rw_debug(CPUState *cpu, target_ulong addr,
uint8_t *buf, target_ulong len, int is_write);
void *ptr, target_ulong len, int is_write);
int cpu_exec(CPUState *cpu);