On 6/19/21 7:26 PM, Richard Henderson wrote:
> Create a typedef for the access_fn callback. Remove the
> access_size_{min,max} and access_fn arguments, and instead
> derive these from the MemoryRegion argument. Add a write
> boolean argument. Mark the function inline.
>
> Signed-off-by: Richard Henderson <[email protected]>
> ---
> softmmu/memory.c | 67 +++++++++++++++++++-----------------------------
> 1 file changed, 26 insertions(+), 41 deletions(-)
Nice simplification :)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>