qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 15/43] tcg: Make tb arg to synchronize_from_tb const


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v4 15/43] tcg: Make tb arg to synchronize_from_tb const
Date: Mon, 14 Dec 2020 23:15:51 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0

On 12/14/20 3:02 PM, Richard Henderson wrote:
> There is nothing within the translators that ought to be
> changing the TranslationBlock data, so make it const.
> 
> This does not actually use the read-only copy of the
> data structure that exists within the rx region.
> 
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>  include/hw/core/cpu.h   | 3 ++-
>  target/arm/cpu.c        | 3 ++-
>  target/avr/cpu.c        | 3 ++-
>  target/hppa/cpu.c       | 3 ++-
>  target/i386/cpu.c       | 3 ++-
>  target/microblaze/cpu.c | 3 ++-
>  target/mips/cpu.c       | 3 ++-
>  target/riscv/cpu.c      | 3 ++-
>  target/rx/cpu.c         | 3 ++-
>  target/sh4/cpu.c        | 3 ++-
>  target/sparc/cpu.c      | 3 ++-
>  target/tricore/cpu.c    | 2 +-
>  12 files changed, 23 insertions(+), 12 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>



reply via email to

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