Re: [PATCH for-6.0 v2 3/5] memory: Add offset_in_region to flatview_cb arguments

2021-03-18 Thread Philippe Mathieu-Daudé
On 3/18/21 6:48 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'

Re: [PATCH for-6.0 v2 3/5] memory: Add offset_in_region to flatview_cb arguments

2021-03-18 Thread Richard Henderson
On 3/18/21 11:48 AM, 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 arg

[PATCH for-6.0 v2 3/5] memory: Add offset_in_region to flatview_cb arguments

2021-03-18 Thread Peter Maydell
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