From: Richard Henderson Date: Tue, 24 Jan 2017 03:07:40 +0000 (-0800) Subject: target/openrisc: Implement msync X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=24fc5c0feb0d8ed3367c6628c14ac3ba6ebcbb89;p=qmiga%2Fqemu.git target/openrisc: Implement msync Signed-off-by: Richard Henderson --- diff --git a/target/openrisc/translate.c b/target/openrisc/translate.c index 6c8f05ce35..dd4ba8c8ee 100644 --- a/target/openrisc/translate.c +++ b/target/openrisc/translate.c @@ -1144,6 +1144,7 @@ static void dec_sys(DisasContext *dc, uint32_t insn) case 0x200: /* l.msync */ LOG_DIS("l.msync\n"); + tcg_gen_mb(TCG_MO_ALL); break; case 0x270: /* l.psync */