summaryrefslogtreecommitdiff
path: root/linux-user/qemu.h
diff options
context:
space:
mode:
authorTaylor Simpson <tsimpson@quicinc.com>2021-02-07 23:46:20 -0600
committerRichard Henderson <richard.henderson@linaro.org>2021-02-18 07:48:22 -0800
commitd2a56bd242de92961c7804f9dabac2d27139d16a (patch)
tree664b5c24bde4e60f3842f2668bb284a63204edcf /linux-user/qemu.h
parent8b453a2b2b2d12ebd0ae315d1308ed39ac412319 (diff)
downloadqemu-d2a56bd242de92961c7804f9dabac2d27139d16a.zip
Hexagon (linux-user/hexagon) Linux user emulation
Implementation of Linux user emulation for Hexagon Some common files modified in addition to new files in linux-user/hexagon Acked-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <1612763186-18161-31-git-send-email-tsimpson@quicinc.com> [rth: Fix termbits.h on review by Laurent] Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/qemu.h')
-rw-r--r--linux-user/qemu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index d25a5dafc0..52c981710b 100644
--- a/linux-user/qemu.h
+++ b/linux-user/qemu.h
@@ -718,6 +718,8 @@ static inline int regpairs_aligned(void *cpu_env, int num)
}
#elif defined(TARGET_XTENSA)
static inline int regpairs_aligned(void *cpu_env, int num) { return 1; }
+#elif defined(TARGET_HEXAGON)
+static inline int regpairs_aligned(void *cpu_env, int num) { return 1; }
#else
static inline int regpairs_aligned(void *cpu_env, int num) { return 0; }
#endif