hw/core: Avoid including the full 'hw/core/cpu.h' in 'tcg-cpu-ops.h'
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 26 Mar 2024 17:38:02 +0000 (18:38 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 26 Apr 2024 15:03:05 +0000 (17:03 +0200)
Only include what is required, avoiding the full
CPUState API from the huge "hw/core/cpu.h" header.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240418192525.97451-4-philmd@linaro.org>

include/hw/core/tcg-cpu-ops.h

index dc1f16a97778dee7236f2bcee60b91b40e35d1ef..9387d3874841a5cec8b63dfce4cea096a6ec6879 100644 (file)
 #ifndef TCG_CPU_OPS_H
 #define TCG_CPU_OPS_H
 
-#include "hw/core/cpu.h"
+#include "exec/breakpoint.h"
+#include "exec/hwaddr.h"
+#include "exec/memattrs.h"
+#include "exec/mmu-access-type.h"
+#include "exec/vaddr.h"
 
 struct TCGCPUOps {
     /**