tcg/tci: Use ffi for calls
commit7b7d8b2d9a7fd68de821f96267e224c1a6256af1
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 30 Jan 2021 22:24:25 +0000 (30 14:24 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 19 Jun 2021 15:51:11 +0000 (19 08:51 -0700)
tree0de572bc83a96bf0793c3b27605c44c7c8704f0d
parentbcb81061dc8173076d9669f969d132b998cd2af9
tcg/tci: Use ffi for calls

This requires adjusting where arguments are stored.
Place them on the stack at left-aligned positions.
Adjust the stack frame to be at entirely positive offsets.

Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/tcg/tcg.h
tcg/tcg.c
tcg/tci.c
tcg/tci/tcg-target.c.inc
tcg/tci/tcg-target.h