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