diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2010-09-09 11:48:57 +0900 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-09-13 21:03:51 +0200 |
commit | 0bb750ef9e897ba5f4d9899ddc7e222e809bcbbd (patch) | |
tree | 6a6d62faa9a4b65ed22297b44e5db4a3b24c4199 /hw/pci.h | |
parent | 2bbb9c2f7f36d0457cda5f27d7e4422219b3acd8 (diff) | |
download | hqemu-0bb750ef9e897ba5f4d9899ddc7e222e809bcbbd.zip hqemu-0bb750ef9e897ba5f4d9899ddc7e222e809bcbbd.tar.gz |
pci: improve signature of pci_register_bar().
Make type uint8_t from int because PCIIORegion::type is uint8_t.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Diffstat (limited to 'hw/pci.h')
-rw-r--r-- | hw/pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -180,7 +180,7 @@ PCIDevice *pci_register_device(PCIBus *bus, const char *name, PCIConfigWriteFunc *config_write); void pci_register_bar(PCIDevice *pci_dev, int region_num, - pcibus_t size, int type, + pcibus_t size, uint8_t type, PCIMapIORegionFunc *map_func); int pci_add_capability(PCIDevice *pdev, uint8_t cap_id, |