cpu-common: Modify cpu_physical_memory_read and cpu_physical_memory_write
commit3bad98147f84f2606afe2afb9d80ea15d3e1c39f
authorStefan Weil <weil@mail.berlios.de>
Sun, 10 Apr 2011 15:28:56 +0000 (10 17:28 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 12 Apr 2011 19:51:50 +0000 (12 21:51 +0200)
treeeb38c258e5a86958a8868289b7f23ddc95fb82da
parentf50ee4e0749604373bfd3bf3bb1d94c28787a378
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>
cpu-common.h