diff options
author | Pranith Kumar <bobby.prani@gmail.com> | 2016-07-14 16:20:22 -0400 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2016-09-16 08:12:12 -0700 |
commit | a1e69e2f8112cd9406cd18a7d136d746f64db899 (patch) | |
tree | bbf8af31ed3ca1976f10f83100bac3df8b44a0e9 /tci.c | |
parent | f8f03b3707b49898052fb8cd75ee31d19c8161fc (diff) | |
download | qemu-a1e69e2f8112cd9406cd18a7d136d746f64db899.zip qemu-a1e69e2f8112cd9406cd18a7d136d746f64db899.tar.gz qemu-a1e69e2f8112cd9406cd18a7d136d746f64db899.tar.bz2 |
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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |