diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-02-19 19:52:44 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-02-20 14:47:08 +0100 |
commit | a152be43dcfc1b72c6987e561102776f197ccc8d (patch) | |
tree | 8d1cd21cef785d0a5e0295cc47a022d20139c96e /include/exec/memory.h | |
parent | 208046768da78b7d841e5ef784c3161c4f76ba16 (diff) | |
download | qemu-a152be43dcfc1b72c6987e561102776f197ccc8d.zip qemu-a152be43dcfc1b72c6987e561102776f197ccc8d.tar.gz qemu-a152be43dcfc1b72c6987e561102776f197ccc8d.tar.bz2 |
exec: Let flatview API take void pointer arguments
Only flatview_[read/write]_continue use a byte pointer to increment
an offset. For the users, we are only dealing with a blob buffer.
Use a void pointer argument. This will let us simplify the
address_space API in the next commit.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'include/exec/memory.h')
-rw-r--r-- | include/exec/memory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/memory.h b/include/exec/memory.h index e85b7de..6f8084f 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -2336,7 +2336,7 @@ void address_space_unmap(AddressSpace *as, void *buffer, hwaddr len, MemTxResult address_space_read_full(AddressSpace *as, hwaddr addr, MemTxAttrs attrs, uint8_t *buf, hwaddr len); MemTxResult flatview_read_continue(FlatView *fv, hwaddr addr, - MemTxAttrs attrs, uint8_t *buf, + MemTxAttrs attrs, void *buf, hwaddr len, hwaddr addr1, hwaddr l, MemoryRegion *mr); void *qemu_map_ram_ptr(RAMBlock *ram_block, ram_addr_t addr); |