mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 14:02:05 -06:00
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>
This commit is contained in:
parent
9c6c079bc6
commit
ed30e7b1d9
3 changed files with 4 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -39,8 +39,6 @@
|
|||
/* XXX: make safe guess about sizes */
|
||||
#define MAX_OP_PER_INSTR 266
|
||||
|
||||
#define MAX_CALL_IARGS 7
|
||||
|
||||
#define CPU_TEMP_BUF_NLONGS 128
|
||||
#define TCG_STATIC_FRAME_SIZE (CPU_TEMP_BUF_NLONGS * sizeof(long))
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
#include "qemu/osdep.h"
|
||||
#include "tcg/tcg.h"
|
||||
#include "tcg/helper-info.h"
|
||||
#include "tcg/tcg-ldst.h"
|
||||
#include <ffi.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue