void* pointer arithmetic is a GCC extentension which could not be
available in other build tools (e.g. C++). This changes removes this
assumption.
Signed-off-by: Roman Kiryanov <rkir@google.com>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Link: https://lore.kernel.org/r/20240620201654.598024-1-rkir@google.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
#include "exec/memory_ldst_phys.h.inc"
struct MemoryRegionCache {
- void *ptr;
+ uint8_t *ptr;
hwaddr xlat;
hwaddr len;
FlatView *fv;