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.


Merge branch 'devel' of ssh://palacios@newskysaw.cs.northwestern.edu//home/palacios...
Lei Xia [Mon, 16 Mar 2009 19:10:38 +0000 (14:10 -0500)]
Conflicts:
palacios/src/devices/pci.c

1  2 
palacios/src/devices/pci.c

@@@ -369,19 -380,12 +380,21 @@@ static int data_port_write(ushort_t por
                    pci_dev->bar[bar_reg].updated = 1;
                }
            } else if ((cur_reg >= 0x30) && (cur_reg < 0x34)) {
-               pci_dev->ext_rom_updated = 1;
+               pci_dev->ext_rom_update_flag = 1;
 -          } else if ((cur_reg == 0x04) || (cur_reg == 0x05)) {
 -              // COMMAND update
 +          } else if (cur_reg == 0x04) {
 +            // COMMAND update      
 +            uint8_t command = *((uint8_t *)src + i);
 +
 +            pci_dev->config_space[cur_reg] = command;       
 +
 +            if (pci_dev->cmd_update) {
 +              pci_dev->cmd_update(pci_dev, (command & 0x01), (command & 0x02));
 +            }
-             
++           
++
            } else if (cur_reg == 0x0f) {
                // BIST update
+               pci_dev->config_header.BIST = 0x00;
            }
        }
      }