aboutsummaryrefslogtreecommitdiff
path: root/Makefile.objs
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-07-14 15:22:20 +0000
committerBlue Swirl <blauwirbel@gmail.com>2011-07-20 21:22:43 +0000
commit21673cdecb9e9b5a22acaf0a44e47145beb1999e (patch)
tree48b0f14b6c3fdc8524f9cd5fc171ea420e8b3e62 /Makefile.objs
parentb5176d279a81b3205a6f4e4757b39a4e4f8833e8 (diff)
downloadqemu-21673cdecb9e9b5a22acaf0a44e47145beb1999e.zip
qemu-21673cdecb9e9b5a22acaf0a44e47145beb1999e.tar.gz
qemu-21673cdecb9e9b5a22acaf0a44e47145beb1999e.tar.bz2
Avoid CPU endian memory accesses in devices
Don't compile virtio.c in hwlib, it depends on memory accesses performed in CPU endianness. Make loads and stores in CPU endianness unavailable to devices and poison them to avoid further bugs. Acked-by: Alexander Graf <agraf@suse.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'Makefile.objs')
-rw-r--r--Makefile.objs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.objs b/Makefile.objs
index 1635df6..c43ed05 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -171,7 +171,7 @@ user-obj-y += cutils.o cache-utils.o
hw-obj-y =
hw-obj-y += vl.o loader.o
-hw-obj-$(CONFIG_VIRTIO) += virtio.o virtio-console.o
+hw-obj-$(CONFIG_VIRTIO) += virtio-console.o
hw-obj-$(CONFIG_VIRTIO_PCI) += virtio-pci.o
hw-obj-y += fw_cfg.o
hw-obj-$(CONFIG_PCI) += pci.o pci_bridge.o