Home
last modified time | relevance | path

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

/freebsd/usr.sbin/bhyve/
H A Dpci_emul.h47 #define PCI_ROM_IDX (PCI_BARMAX + 1) macro
H A Dpci_passthru.c872 sc->psc_bar[PCI_ROM_IDX].type = PCIBAR_ROM; in passthru_init_rom()
873 sc->psc_bar[PCI_ROM_IDX].addr = (uint64_t)rom_addr; in passthru_init_rom()
874 sc->psc_bar[PCI_ROM_IDX].size = rom_size; in passthru_init_rom()
H A Dpci_emul.c732 return (pi->pi_bar[PCI_ROM_IDX].lobits & PCIM_BIOS_ENABLE) == in romen()
803 assert((type != PCIBAR_ROM) || (idx == PCI_ROM_IDX)); in pci_emul_alloc_bar()
1030 const int error = pci_emul_alloc_bar(pdi, PCI_ROM_IDX, PCIBAR_ROM, in pci_emul_alloc_rom()
2348 idx = PCI_ROM_IDX; in pci_cfgrw()