qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 19/21] exec/cpu: Make address_space_init/reloading_memory_


From: Richard Henderson
Subject: Re: [PATCH v2 19/21] exec/cpu: Make address_space_init/reloading_memory_map target agnostic
Date: Sun, 6 Feb 2022 10:31:43 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 2/4/22 06:18, Philippe Mathieu-Daudé wrote:
cpu_address_space_init() and cpu_reloading_memory_map() are
target-agnostic, but are declared in "exec/exec-all.h" which
contains target-specific declarations. Any target-agnostic
source including "exec/exec-all.h" becomes target-specific and
we have to compile it N times for the N targets built.  In order
to avoid that, move the declarations to "exec/cpu-common.h" which
only contains target-agnostic declarations.

Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
---
  include/exec/cpu-common.h | 23 +++++++++++++++++++++++
  include/exec/exec-all.h   | 25 -------------------------
  2 files changed, 23 insertions(+), 25 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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