qemu/pci: refactor code/symbolic constants
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 16 Sep 2009 10:40:57 +0000 (13:40 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 5 Oct 2009 14:32:51 +0000 (09:32 -0500)
commit2605ea7a1b395337599a8fab6ce539cafebaaf37
treef92572bffcc71ee825bf79cabcdd99e26066efb0
parent8b8fabb95d92f4fd82c96f3b8dab456bb44994e4
qemu/pci: refactor code/symbolic constants

refactor code slightly, adding symbolic constants and functions, and
using macros where possible.  This will also make following reset
patches easier.

No functional changes.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pci.c
hw/pci.h