|
From: | Richard Henderson |
Subject: | Re: [PATCH 19/24] exec/user: Do not include 'cpu.h' in 'abitypes.h' |
Date: | Mon, 11 Dec 2023 15:29:11 -0800 |
User-agent: | Mozilla Thunderbird |
On 12/11/23 13:19, Philippe Mathieu-Daudé wrote:
First, "exec/user/abitypes.h" is missing the following includes (they are included by "cpu.h"): - "exec/target_long.h" - "exec/cpu-all.h" - "exec/tswap.h" Second, it only requires the definitions from "cpu-param.h", not the huge "cpu.h". In order to avoid "cpu.h", pick the minimum required headers. Assert this user-specific header is only included from user emulation. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Why is cpu-all.h required? r~
[Prev in Thread] | Current Thread | [Next in Thread] |