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.


added DMA write functionality to ide harddisk
[palacios.git] / palacios / src / devices / vpci.c
index caca890..be6832d 100644 (file)
@@ -174,6 +174,8 @@ static void vpci_write_config(struct pci_device * dev, uchar_t offset, uint32_t
     dev_config = (uchar_t *)&(dev->config);
     dev_config += offset;
     
+
+    // TODO: cast 'val' instead of masking it
     switch(len) {
        case 1:
            *dev_config = (val & 0xff);