aboutsummaryrefslogtreecommitdiff
path: root/tci.c
diff options
context:
space:
mode:
authorPranith Kumar <bobby.prani@gmail.com>2016-07-14 16:20:22 -0400
committerRichard Henderson <rth@twiddle.net>2016-09-16 08:12:12 -0700
commita1e69e2f8112cd9406cd18a7d136d746f64db899 (patch)
treebbf8af31ed3ca1976f10f83100bac3df8b44a0e9 /tci.c
parentf8f03b3707b49898052fb8cd75ee31d19c8161fc (diff)
tcg/tci: Add support for fence
Cc: Stefan Weil <sw@weilnetz.de> Signed-off-by: Pranith Kumar <bobby.prani@gmail.com> Message-Id: <20160714202026.9727-11-bobby.prani@gmail.com> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tci.c')
-rw-r--r--tci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tci.c b/tci.c
index b488c0d8e4..4bdc645f2a 100644
--- a/tci.c
+++ b/tci.c
@@ -1236,6 +1236,10 @@ uintptr_t tcg_qemu_tb_exec(CPUArchState *env, uint8_t *tb_ptr)
tcg_abort();
}
break;
+ case INDEX_op_mb:
+ /* Ensure ordering for all kinds */
+ smp_mb();
+ break;
default:
TODO();
break;