On 3/12/21 6:29 PM, Peter Maydell wrote: > The function flatview_for_each_range() calls a callback for each > range in a FlatView. Currently the callback gets the start and > length of the range and the MemoryRegion involved, but not the offset > within the MemoryRegion. Add this to the callback's arguments; we're > going to want it for a new use in the next commit. > > While we're editing the flatview_cb typedef, add names for the > arguments that were missing names. > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > include/exec/memory.h | 4 +++- > softmmu/memory.c | 3 ++- > tests/qtest/fuzz/generic_fuzz.c | 4 +++- > 3 files changed, 8 insertions(+), 3 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>