root / qemu-barrier.h @ c05c7a73
History | View | Annotate | Download (152 Bytes)
1 | 85199474 | Marcelo Tosatti | #ifndef __QEMU_BARRIER_H
|
---|---|---|---|
2 | 85199474 | Marcelo Tosatti | #define __QEMU_BARRIER_H 1 |
3 | 85199474 | Marcelo Tosatti | |
4 | 85199474 | Marcelo Tosatti | /* FIXME: arch dependant, x86 version */
|
5 | 85199474 | Marcelo Tosatti | #define smp_wmb() asm volatile("" ::: "memory") |
6 | 85199474 | Marcelo Tosatti | |
7 | 85199474 | Marcelo Tosatti | #endif |