spice-protocol/spice
Christophe Fergeau 6b86c1a510 Use gcc builtin rather than asm for memory barriers
This should make things more portable.

On my machine, __sync_synchronize() uses mfence rather than lock; addl;
Looking at the kernel memory barriers, this should be fine:
http://lxr.free-electrons.com/source/arch/x86/um/asm/barrier.h

The kernel favours using mfence, but falls back to lock; addl; when it's
not available (32 bit non-SSE machines).

https://bugs.freedesktop.org/show_bug.cgi?id=86997
2016-01-08 15:31:38 +01:00
..
barrier.h Use gcc builtin rather than asm for memory barriers 2016-01-08 15:31:38 +01:00
controller_prot.h Define and use new SPICE_MAGIC_CONST macro 2015-08-12 14:15:27 +02:00
end-packed.h mingw32: specify packing alignment to 1 byte, to override -mms-bitfield 2010-12-29 16:13:55 +01:00
enums.h Rename SpiceImageCompress constants 2015-07-23 16:22:56 +02:00
error_codes.h Clean up and standardize header guards 2010-02-04 16:47:14 +01:00
foreign_menu_prot.h Define and use new SPICE_MAGIC_CONST macro 2015-08-12 14:15:27 +02:00
ipc_ring.h Fix up SPICE_SPICE typo 2010-02-04 18:10:50 +01:00
macros.h macros: make SPICE_CONTAINEROF more typesafe 2015-12-04 11:15:12 +00:00
Makefile.am build-sys: Add --enable-code-generator 2015-08-07 11:54:47 +02:00
protocol.h Define and use new SPICE_MAGIC_CONST macro 2015-08-12 14:15:27 +02:00
qxl_dev.h Define and use new SPICE_MAGIC_CONST macro 2015-08-12 14:15:27 +02:00
qxl_windows.h Add QXL_ESCAPE_MONITOR_CONFIG enum 2015-06-30 16:23:42 +02:00
start-packed.h mingw32: specify packing alignment to 1 byte, to override -mms-bitfield 2010-12-29 16:13:55 +01:00
stats.h Define and use new SPICE_MAGIC_CONST macro 2015-08-12 14:15:27 +02:00
types.h Add byteswapping macros 2010-05-19 16:02:40 +02:00
vd_agent.h Add VD_AGENT_CAP_MONITORS_CONFIG_POSITION capability to client. 2015-08-06 11:52:00 +02:00
vdi_dev.h Define and use new SPICE_MAGIC_CONST macro 2015-08-12 14:15:27 +02:00