mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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:
parent
b7cbebf2b9
commit
d7ef71ef42
3 changed files with 7 additions and 5 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue