Home
last modified time | relevance | path

Searched refs:PCI_ROM_IDX (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/bhyve/
H A Dpci_emul.h48 #define PCI_ROM_IDX (PCI_BARMAX + 1) macro
H A Dpci_passthru.c765 sc->psc_bar[PCI_ROM_IDX].type = PCIBAR_ROM; in passthru_init_rom()
766 sc->psc_bar[PCI_ROM_IDX].addr = (uint64_t)rom_addr; in passthru_init_rom()
767 sc->psc_bar[PCI_ROM_IDX].size = rom_size; in passthru_init_rom()
H A Dpci_emul.c674 return (pi->pi_bar[PCI_ROM_IDX].lobits & PCIM_BIOS_ENABLE) == in romen()
745 assert((type != PCIBAR_ROM) || (idx == PCI_ROM_IDX)); in pci_emul_alloc_bar()
957 const int error = pci_emul_alloc_bar(pdi, PCI_ROM_IDX, PCIBAR_ROM, in pci_emul_alloc_rom()
2273 idx = PCI_ROM_IDX; in pci_cfgrw()