qemu-e2k/include/hw/pci
Dmitry Fleytman 059a65f3ad pci: fix unaligned access in pci_xxx_quad()
Replace legacy cpu_to_le64w()/le64_to_cpup()
calls with stq_le_p()/ldq_le_p().

Motivation for this modification is that
follow up patches add utility function
pcie_dev_ser_num_init() for PCIe DSN
capability creation which uses
pci_set_quad() with a misaligned offset.

Signed-off-by: Dmitry Fleytman <dmitry.fleytman@ravellosystems.com>
Signed-off-by: Leonid Bloch <leonid.bloch@ravellosystems.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2016-06-02 10:16:53 +08:00
..
msi.h msi_supported -> msi_nonbroken 2016-03-11 16:45:21 +02:00
msix.h msix: add VMSTATE_MSIX_TEST 2015-10-24 18:02:48 +02:00
pci_bridge.h change type of pci_bridge_initfn() to void 2016-02-16 12:05:18 +02:00
pci_bus.h hw/pci: add support for NUMA nodes 2015-06-03 18:19:18 +02:00
pci_host.h pci: Fold host_buses list into PCIHostState functionality 2013-07-07 23:10:57 +03:00
pci_ids.h hw: Add support for LSI SAS1068 (mptsas) device 2016-02-09 15:45:26 +01:00
pci_regs.h pci_regs.h: import from linux 2015-07-08 10:09:56 +03:00
pci-assign.h hw/pci-assign: split pci-assign.c 2015-09-10 12:04:27 +00:00
pci.h pci: fix unaligned access in pci_xxx_quad() 2016-06-02 10:16:53 +08:00
pcie_aer.h pcie_aer: expose pcie_aer_msg() interface 2016-02-19 09:42:28 -07:00
pcie_host.h pci: Split pcie_host_mmcfg_map() 2015-01-26 20:25:52 +02:00
pcie_port.h pcie_port: Turn PCIEPort and PCIESlot into abstract QOM types 2013-07-29 20:45:24 +02:00
pcie_regs.h Convert (ffs(val) - 1) to ctz32(val) 2015-04-28 15:36:08 +02:00
pcie.h qdev: HotplugHandler: Rename unplug callback to unplug_request 2014-10-15 05:03:13 +02:00
shpc.h include: Clean up includes 2016-02-23 12:43:05 +00:00
slotid_cap.h