summaryrefslogtreecommitdiffstats
path: root/tcg/arm/tcg-target.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-04-24 14:23:40 -0700
committerRichard Henderson <rth@twiddle.net>2014-05-12 10:06:29 -0700
commit267c931985cf4a003fdeaab197a49bdd83e50e19 (patch)
tree00c4d92492c6866ca821261a3dbd2637075bd1af /tcg/arm/tcg-target.h
parentabce5964be02146c204722c0c55bc6939fb8603d (diff)
downloadhqemu-267c931985cf4a003fdeaab197a49bdd83e50e19.zip
hqemu-267c931985cf4a003fdeaab197a49bdd83e50e19.tar.gz
tcg-arm: Define TCG_TARGET_INSN_UNIT_SIZE
And use tcg pointer differencing functions as appropriate. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/arm/tcg-target.h')
-rw-r--r--tcg/arm/tcg-target.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcg/arm/tcg-target.h b/tcg/arm/tcg-target.h
index 1bc5dac..73f10c4 100644
--- a/tcg/arm/tcg-target.h
+++ b/tcg/arm/tcg-target.h
@@ -26,6 +26,7 @@
#define TCG_TARGET_ARM 1
#undef TCG_TARGET_STACK_GROWSUP
+#define TCG_TARGET_INSN_UNIT_SIZE 4
typedef enum {
TCG_REG_R0 = 0,
OpenPOWER on IntegriCloud