Benjamin Herrenschmidt 7a0bac4da9 Add a memory barrier to DMA functions
The emulated devices can run simultaneously with the guest, so
we need to be careful with ordering of load and stores done by
them to the guest system memory, which need to be observed in
the right order by the guest operating system.

This adds a barrier call to the basic DMA read/write ops which
is currently implemented as a smp_mb(), but could be later
improved for more fine grained control of barriers.

Additionally, a _relaxed() variant of the accessors is provided
to easily convert devices who would be performance sensitive
and negatively impacted by the change.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-06-27 16:33:26 -05:00
2012-06-15 20:58:54 +04:00
2012-06-24 01:04:45 +02:00
2012-06-21 20:04:24 +00:00
2012-06-18 15:32:45 +02:00
2012-06-15 10:41:05 -03:00
2012-06-21 17:59:27 -05:00
2012-06-24 01:04:51 +02:00
2012-06-24 01:04:51 +02:00
2012-06-27 16:33:26 -05:00
2012-06-21 18:45:16 +00:00
2012-06-04 13:49:35 -03:00
2012-06-15 10:41:05 -03:00
2012-06-04 13:49:35 -03:00
2012-06-15 10:41:05 -03:00
2012-06-27 11:57:17 +02:00
2012-06-04 13:49:35 -03:00
2012-06-04 13:49:35 -03:00
2012-06-24 12:16:51 +00:00
2012-06-21 18:45:18 +00:00
2012-06-22 10:34:21 +01:00
2012-06-20 14:46:02 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme 524 MiB
Languages
C 82.5%
C++ 7%
Python 3.3%
Dylan 2.8%
Shell 1.5%
Other 2.6%