repo.or.cz
/
qemu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
bluetooth: kill dummy usb device, use hid code directly.
[qemu.git]
/
qemu-barrier.h
blob
b77fce23a95962ad29b2526f6a313eae39381047
1
#ifndef __QEMU_BARRIER_H
2
#define __QEMU_BARRIER_H 1
3
4
/* FIXME: arch dependant, x86 version */
5
#define smp_wmb() asm volatile(
""
:::
"memory"
)
6
7
/* Compiler barrier */
8
#define barrier() asm volatile(
""
:::
"memory"
)
9
10
#endif