[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-6.0 v2 3/5] memory: Add offset_in_region to flatview_cb a
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH for-6.0 v2 3/5] memory: Add offset_in_region to flatview_cb arguments |
Date: |
Thu, 18 Mar 2021 22:01:23 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 |
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's arguments; we're
> going to want it for a new use in the next commit.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> include/exec/memory.h | 2 ++
> softmmu/memory.c | 4 +++-
> tests/qtest/fuzz/generic_fuzz.c | 5 ++++-
> 3 files changed, 9 insertions(+), 2 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
- Re: [PATCH for-6.0 v2 2/5] memory: Document flatview_for_each_range(), (continued)
[PATCH for-6.0 v2 3/5] memory: Add offset_in_region to flatview_cb arguments, Peter Maydell, 2021/03/18
[PATCH for-6.0 v2 5/5] target/arm: Make M-profile VTOR loads on reset handle memory aliasing, Peter Maydell, 2021/03/18