Sign in
qemu
/
qemu
/
789ec7ce20f34b175b3983707e077e8d67385126
/
.
/
qemu-barrier.h
blob: b77fce23a95962ad29b2526f6a313eae39381047 [
file
] [
log
] [
blame
]
#ifndef
__QEMU_BARRIER_H
#define
__QEMU_BARRIER_H
1
/* FIXME: arch dependant, x86 version */
#define
smp_wmb
()
asm
volatile
(
""
:::
"memory"
)
/* Compiler barrier */
#define
barrier
()
asm
volatile
(
""
:::
"memory"
)
#endif