hw/core: Avoid including the full 'hw/core/cpu.h' in 'tcg-cpu-ops.h'

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>
This commit is contained in:
Philippe Mathieu-Daudé 2024-03-26 18:38:02 +01:00
parent aacfd8bbaf
commit 76d07d321f
1 changed files with 5 additions and 1 deletions

View File

@ -10,7 +10,11 @@
#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 {
/**