diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-04-24 10:18:58 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-04-25 17:09:58 +0200 |
commit | f56159e82885bb7cbbe5d28698a486c7ccbfb2ca (patch) | |
tree | e69fe17d886eb6a43f7e67286e26665290357f54 | |
parent | 58bc9db84af4e1bf3a8c55fa18277acbfaeb1caf (diff) | |
download | qemu-f56159e82885bb7cbbe5d28698a486c7ccbfb2ca.zip qemu-f56159e82885bb7cbbe5d28698a486c7ccbfb2ca.tar.gz qemu-f56159e82885bb7cbbe5d28698a486c7ccbfb2ca.tar.bz2 |
target/hexagon: Include missing 'accel/tcg/getpc.h'
Since the macros.h headers call GETPC(), they need to
include "accel/tcg/getpc.h", which defines it.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Reviewed-by: Brian Cain <brian.cain@oss.qualcomm.com>
Message-Id: <20250424094653.35932-9-philmd@linaro.org>
-rw-r--r-- | target/hexagon/macros.h | 1 | ||||
-rw-r--r-- | target/hexagon/mmvec/macros.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/target/hexagon/macros.h b/target/hexagon/macros.h index e5eb31e..9ba9be4 100644 --- a/target/hexagon/macros.h +++ b/target/hexagon/macros.h @@ -21,6 +21,7 @@ #include "cpu.h" #include "hex_regs.h" #include "reg_fields.h" +#include "accel/tcg/getpc.h" #define GET_FIELD(FIELD, REGIN) \ fEXTRACTU_BITS(REGIN, reg_field_info[FIELD].width, \ diff --git a/target/hexagon/mmvec/macros.h b/target/hexagon/mmvec/macros.h index bcd4a1e..c1a8839 100644 --- a/target/hexagon/mmvec/macros.h +++ b/target/hexagon/mmvec/macros.h @@ -21,6 +21,7 @@ #include "qemu/host-utils.h" #include "arch.h" #include "mmvec/system_ext_mmvec.h" +#include "accel/tcg/getpc.h" #ifndef QEMU_GENERATE #define VdV (*(MMVector *restrict)(VdV_void)) |