diff options
author | Stefan Weil <weil@mail.berlios.de> | 2011-04-10 17:28:56 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-04-12 21:51:50 +0200 |
commit | 3bad98147f84f2606afe2afb9d80ea15d3e1c39f (patch) | |
tree | eb38c258e5a86958a8868289b7f23ddc95fb82da /qemu-img-cmds.hx | |
parent | f50ee4e0749604373bfd3bf3bb1d94c28787a378 (diff) | |
download | qemu-3bad98147f84f2606afe2afb9d80ea15d3e1c39f.tar.gz qemu-3bad98147f84f2606afe2afb9d80ea15d3e1c39f.tar.bz2 qemu-3bad98147f84f2606afe2afb9d80ea15d3e1c39f.zip |
cpu-common: Modify cpu_physical_memory_read and cpu_physical_memory_write
A lot of calls don't operate on bytes but on words or on structured data.
So instead of a pointer to uint8_t, a void pointer is the better choice.
This allows removing many type casts.
(Some very early implementations of memcpy used char pointers
which were replaced by void pointers for the same reason).
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'qemu-img-cmds.hx')
0 files changed, 0 insertions, 0 deletions