qemu-arm
[Top][All Lists]
Advanced

[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: Richard Henderson
Subject: Re: [PATCH for-6.0 v2 3/5] memory: Add offset_in_region to flatview_cb arguments
Date: Thu, 18 Mar 2021 12:40:35 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

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 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: Richard Henderson <richard.henderson@linaro.org>

r~




reply via email to

[Prev in Thread] Current Thread [Next in Thread]