Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


updated io device hooks for PCI device
[palacios.git] / palacios / include / devices / pci.h
index 003096c..51d1d50 100644 (file)
@@ -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;