PCIBAR_ROM
case PCIBAR_ROM:
case PCIBAR_ROM:
case PCIBAR_ROM:
assert((type == PCIBAR_ROM) || (idx >= 0 && idx <= PCI_BARMAX));
assert((type != PCIBAR_ROM) || (idx == PCI_ROM_IDX));
} else if (type == PCIBAR_ROM) {
case PCIBAR_ROM:
const int error = pci_emul_alloc_bar(pdi, PCI_ROM_IDX, PCIBAR_ROM,
case PCIBAR_ROM:
sc->psc_bar[PCI_ROM_IDX].type = PCIBAR_ROM;