summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Flush icache after dma operations for ia64Jes Sorensen2009-06-071-0/+21
| | | | | | | | | | | ia64 system depends on that platform issues snoop cycle to flush icache for memory touched by DMA write operations, but virtual DMA operations is emulated by memcpy, so use explict instrustions to flush the related icache, otherwise, guest may use obsolete icache. Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com> Signed-off-by: Jes Sorensen <jes@sgi.com> Signed-off-by: Avi Kivity <avi@redhat.com>
* Revert "Sync idcache after emualted DMA operations for ia64"Hollis Blanchard2009-05-031-14/+0
| | | | | | | | | This reverts commit 9dc99a28236161a5a1b4c58f1e9c4ec6179cb976. Aside from the other issues discussed on kvm-devel, this commit breaks the PowerPC build. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
* Sync idcache after emualted DMA operations for ia64Xiantao Zhang2009-04-211-0/+14
| | | | | | | | ia64 depends on platform provides synced idcache after DMA operation. For virtual dma operations in qemu, it also need to provide similar machanism. Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
* Remove all traces of __powerpc__malc2009-01-141-3/+1
| | | | | | | | According to $GCC/gcc/config/rs6000/rs6000-c.c _ARCH_PPC is the ubiquitous define which should be used to test whether gcc targets PowerPC, on 64bit platforms _ARCH_PPC64 will be also defined. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6301 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix building on PPC64malc2009-01-141-1/+1
| | | | | | | | | HOST_PPC alone can't be a substitute for __powerpc__ which is defined for both 32 and 64bit PPCs, so go with HOST_PPC || HOST_PPC64 instead. Reported by C. W. Betts git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6293 c046a42c-6fe2-441c-8c8c-71466251a162
* Do not rely on __powerpc__ being defined as a feature test macromalc2009-01-131-1/+3
| | | | | | | | | | | | __powerpc__ is not defined on AIX and Darwin, Makefile.target adds it to CPPFLAGS for target specific code which cache-utils are not. Since there's not common definition which can safely be used on all platforms use HOST_PPC provided by config-host.h The problem was originally reported by C. W. Betts git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6292 c046a42c-6fe2-441c-8c8c-71466251a162
* Introduce and use cache-utils.[ch]malc2008-12-101-0/+41
Thanks to Segher Boessenkool and Holis Blanchard. AIX and Darwin cache inquiry: http://gcc.gnu.org/ml/gcc-patches/2007-08/msg00388.html Auxiliary vectors: http://manugarg.googlepages.com/aboutelfauxiliaryvectors git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5973 c046a42c-6fe2-441c-8c8c-71466251a162