Re: [PATCH 20/21] exec/user: Do not include 'cpu.h' in 'abitypes.h'

2024-04-17 Thread Richard Henderson
On 4/17/24 11:28, Philippe Mathieu-Daudé wrote: "exec/user/abitypes.h" requires: - "exec/cpu-defs.h" (TARGET_LONG_BITS) - "exec/tswap.h" (tswap32) In order to avoid "cpu.h", pick the minimum required headers. Assert this user-specific header is only included from use

[PATCH 20/21] exec/user: Do not include 'cpu.h' in 'abitypes.h'

2024-04-17 Thread Philippe Mathieu-Daudé
"exec/user/abitypes.h" requires: - "exec/cpu-defs.h" (TARGET_LONG_BITS) - "exec/tswap.h" (tswap32) 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é