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