On 2/14/22 19:31, Philippe Mathieu-Daudé via wrote:
> HexagonCPU field parent_class is of type CPUClass, which
> is declared in "hw/core/cpu.h".
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Damien Hedde <damien.hedde@greensocs.com>
> ---
> target/hexagon/cpu.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/target/hexagon/cpu.h b/target/hexagon/cpu.h
> index 096aa2deb6..76cd1d5021 100644
> --- a/target/hexagon/cpu.h
> +++ b/target/hexagon/cpu.h
> @@ -27,6 +27,7 @@ typedef struct CPUHexagonState CPUHexagonState;
> #include "hex_regs.h"
> #include "mmvec/mmvec.h"
> #include "qom/object.h"
> +#include "hw/core/cpu.h"
>
> #define NUM_PREGS 4
> #define TOTAL_PER_THREAD_REGS 64