commit | 3bad98147f84f2606afe2afb9d80ea15d3e1c39f | [log] [tgz] |
---|---|---|
author | Stefan Weil <weil@mail.berlios.de> | Sun Apr 10 17:28:56 2011 +0200 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Tue Apr 12 21:51:50 2011 +0200 |
tree | eb38c258e5a86958a8868289b7f23ddc95fb82da | |
parent | f50ee4e0749604373bfd3bf3bb1d94c28787a378 [diff] |
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>