VirtualBox

source: vbox/trunk/src/recompiler/qemu-barrier.h@ 56078

Last change on this file since 56078 was 37689, checked in by vboxsync, 13 years ago

recompiler: Merged in changes from 0.13.0.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 226 bytes
Line 
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
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette