pcie: helper functions for pcie capability and extended capability
authorIsaku Yamahata <yamahata@valinux.co.jp>
Tue, 19 Oct 2010 09:06:34 +0000 (18:06 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 19 Oct 2010 12:09:44 +0000 (14:09 +0200)
commitadca15d47af85e835910f5c4e9e12862b74fd361
treef4ba3a5be62623d418e3f47c36bc8ef669c12cec
parente3843d2b4b4e14620877ea51d878029162865a98
pcie: helper functions for pcie capability and extended capability

This patch implements helper functions for pci express capability
and pci express extended capability allocation.
NOTE: presence detection depends on pci_qdev_init() change.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Makefile.objs
hw/pci.h
hw/pcie.c [new file with mode: 0644]
hw/pcie.h [new file with mode: 0644]
qemu-common.h