mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
exec: Restrict inclusion of 'user/guest-base.h'
Declare 'have_guest_base' in "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> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231211212003.21686-23-philmd@linaro.org> Reviewed-by: Anton Johansson <anjo@rev.ng>
This commit is contained in:
parent
d3cbde7402
commit
16aa8eaaac
6 changed files with 11 additions and 3 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include "qemu.h"
|
||||
#include "user/tswap-target.h"
|
||||
#include "user/guest-base.h"
|
||||
#include "user-internals.h"
|
||||
#include "signal-common.h"
|
||||
#include "loader.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue