aboutsummaryrefslogtreecommitdiff
path: root/include/tcg/helper-info.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-03-14 08:49:49 -1000
committerRichard Henderson <richard.henderson@linaro.org>2024-04-30 16:12:05 -0700
commited30e7b1d9f5639d346fc2f0285568516e324398 (patch)
tree584e1f603b821d4a423745188282890309a2a7f0 /include/tcg/helper-info.h
parent9c6c079bc6723da8061ccfb44361d67b1dd785dd (diff)
downloadqemu-ed30e7b1d9f5639d346fc2f0285568516e324398.zip
qemu-ed30e7b1d9f5639d346fc2f0285568516e324398.tar.gz
qemu-ed30e7b1d9f5639d346fc2f0285568516e324398.tar.bz2
tcg: Make tcg/helper-info.h self-contained
Move MAX_CALL_IARGS from tcg.h and include for the define of TCG_TARGET_REG_BITS. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/tcg/helper-info.h')
-rw-r--r--include/tcg/helper-info.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/tcg/helper-info.h b/include/tcg/helper-info.h
index 7c27d61..909fe73 100644
--- a/include/tcg/helper-info.h
+++ b/include/tcg/helper-info.h
@@ -12,6 +12,9 @@
#ifdef CONFIG_TCG_INTERPRETER
#include <ffi.h>
#endif
+#include "tcg-target-reg-bits.h"
+
+#define MAX_CALL_IARGS 7
/*
* Describe the calling convention of a given argument type.