]> git.proxmox.com Git - qemu.git/commit
Avoid CPU endian memory accesses in devices
authorBlue Swirl <blauwirbel@gmail.com>
Thu, 14 Jul 2011 15:22:20 +0000 (15:22 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Wed, 20 Jul 2011 21:22:43 +0000 (21:22 +0000)
commit21673cdecb9e9b5a22acaf0a44e47145beb1999e
tree48b0f14b6c3fdc8524f9cd5fc171ea420e8b3e62
parentb5176d279a81b3205a6f4e4757b39a4e4f8833e8
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>
Makefile.objs
Makefile.target
cpu-common.h
poison.h