pci: define a constant to represent a unmapped bar and use it.
commit182f9c8a64d530d992df35a1a4b17a562c7d1aef
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 30 Oct 2009 12:20:58 +0000 (30 21:20 +0900)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 9 Nov 2009 14:43:04 +0000 (9 08:43 -0600)
tree5edad9c70d781f9ea77dcb715d288b575351adf9
parent2217dcfff5e24a16217cba5e53c3579f97d8880e
pci: define a constant to represent a unmapped bar and use it.

define a constant to represent a unmapped bar instead of -1 and use it.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/cirrus_vga.c
hw/pci.c
hw/pci.h