X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=tci.c;h=4bdc645f2a55ef8a15950772f70ce17f393593c9;hb=9588c5897b83a43c80b810ec44e575e1032378d4;hp=0fdc4e2c127c3937664271dc95d95394a69eca8b;hpb=819af24b9c1e95e6576f1cefd32f4d6bf56dfa56;p=mirror_qemu.git diff --git a/tci.c b/tci.c index 0fdc4e2c12..4bdc645f2a 100644 --- a/tci.c +++ b/tci.c @@ -28,7 +28,7 @@ #endif #include "qemu-common.h" -#include "exec/exec-all.h" /* MAX_OPC_PARAM_IARGS */ +#include "tcg/tcg.h" /* MAX_OPC_PARAM_IARGS */ #include "exec/cpu_ldst.h" #include "tcg-op.h" @@ -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;