X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fdevices%2Fpci.h;h=51d1d503705d45e707c073882bf1e6a60f2060a9;hp=003096c7a52e3e654d28db82c5b15dbc6864630d;hb=fb7ae05e81eee43ecb4b1888b32d4d4a17b12f28;hpb=15a29d24ad7a3f6f1b757c22c4979916dd423155 diff --git a/palacios/include/devices/pci.h b/palacios/include/devices/pci.h index 003096c..51d1d50 100644 --- a/palacios/include/devices/pci.h +++ b/palacios/include/devices/pci.h @@ -40,9 +40,15 @@ struct pci_device; struct v3_pci_bar { pci_bar_type_t type; int mem_hook; - int num_pages; + + union { + int num_pages; + int num_io_ports; + }; + int (*bar_update)(struct pci_device * pci_dev, uint_t bar); + // Internal PCI data int updated; uint32_t mask;