Message ID | 20220214183144.27402-11-f4bug@amsat.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | target: Use ArchCPU & CPUArchState as abstract interface to target CPU | expand |
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
On 2/14/22 08:31, Philippe Mathieu-Daudé 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> > --- > target/hexagon/cpu.h | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
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
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> --- target/hexagon/cpu.h | 1 + 1 file changed, 1 insertion(+)