qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 22/24] exec/cpu-all: Restrict inclusion of 'exec/user/guest-b


From: Richard Henderson
Subject: Re: [PATCH 22/24] exec/cpu-all: Restrict inclusion of 'exec/user/guest-base.h'
Date: Mon, 11 Dec 2023 17:25:42 -0800
User-agent: Mozilla Thunderbird

On 12/11/23 13:19, Philippe Mathieu-Daudé wrote:
Declare 'have_guest_base' in "exec/user/guest-base.h".
Very few files require this header, so explicitly include
it there instead of "exec/cpu-all.h" which is used in many
source files.
Assert this user-specific header is only included from user
emulation.

Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
---
  include/exec/cpu-all.h         | 3 ---
  include/exec/user/guest-base.h | 6 ++++++
  bsd-user/main.c                | 1 +
  linux-user/elfload.c           | 1 +
  linux-user/main.c              | 1 +
  5 files changed, 9 insertions(+), 3 deletions(-)

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


r~



reply via email to

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