diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-05-19 09:59:34 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2015-06-03 23:56:55 +0200 |
commit | 5a58e884d1d9905a835de2889c8cd73327fe2a94 (patch) | |
tree | 7536fa6b96b41c6204e0a20b2beb49e768081fa0 /tcg/tci | |
parent | 085eb217dfb3ee12e7985c11f71f8a038394735a (diff) |
tci: do not use CPUArchState in tcg-target.h
tcg-target.h does not use any QEMU-specific symbols, save for tci's usage
of CPUArchState. Pull that up to tcg/tcg.h.
This will make it possible to include tcg-target.h in cpu-defs.h.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'tcg/tci')
-rw-r--r-- | tcg/tci/tcg-target.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tcg/tci/tcg-target.h b/tcg/tci/tcg-target.h index bd1e97468c..662d45c22f 100644 --- a/tcg/tci/tcg-target.h +++ b/tcg/tci/tcg-target.h @@ -175,8 +175,7 @@ typedef enum { void tci_disas(uint8_t opc); -uintptr_t tcg_qemu_tb_exec(CPUArchState *env, uint8_t *tb_ptr); -#define tcg_qemu_tb_exec tcg_qemu_tb_exec +#define HAVE_TCG_QEMU_TB_EXEC static inline void flush_icache_range(uintptr_t start, uintptr_t stop) { |