@@ -23,9 +23,11 @@
#include "cpu-qom.h"
#include "exec/cpu-common.h"
#include "exec/cpu-defs.h"
+#include "exec/target_long.h"
#include "hex_regs.h"
#include "mmvec/mmvec.h"
#include "hw/core/registerfields.h"
+#include "qemu/bitmap.h"
#ifndef CONFIG_USER_ONLY
#error "Hexagon does not support system emulation"
@@ -18,6 +18,9 @@
#ifndef HEXAGON_MMVEC_H
#define HEXAGON_MMVEC_H
+#include "exec/target_long.h"
+#include "qemu/bitmap.h"
+
#define MAX_VEC_SIZE_LOGBYTES 7
#define MAX_VEC_SIZE_BYTES (1 << MAX_VEC_SIZE_LOGBYTES)
The "exec/target_long.h" header is indirectly included, pulled via "exec/cpu-defs.h". Include it explicitly otherwise we'd get when removing the latter: ../target/hexagon/cpu.h:76:5: error: unknown type name ‘target_ulong’ 76 | target_ulong gpr[TOTAL_PER_THREAD_REGS]; | ^~~~~~~~~~~~ ../target/hexagon/mmvec/mmvec.h:69:5: error: unknown type name ‘target_ulong’ 69 | target_ulong va[MAX_VEC_SIZE_BYTES]; | ^~~~~~~~~~~~ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Brian Cain <brian.cain@oss.qualcomm.com> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20260313062055.2188-8-philmd@linaro.org> --- target/hexagon/cpu.h | 2 ++ target/hexagon/mmvec/mmvec.h | 3 +++ 2 files changed, 5 insertions(+)