Searched refs:rom_size (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | bootrom.c | 200 off_t rom_size, var_size, total_size; in bootrom_loadrom() local 237 rom_size = sbuf.st_size; in bootrom_loadrom() 266 total_size = rom_size + var_size; in bootrom_loadrom() 275 if (bootrom_alloc(ctx, rom_size, PROT_READ | PROT_EXEC, in bootrom_loadrom() 281 for (i = 0; i < rom_size / PAGE_SIZE; i++) { in bootrom_loadrom()
|
H A D | pci_passthru.c | 739 const uint64_t rom_size = sbuf.st_size; in passthru_init_rom() local 741 void *const rom_data = mmap(NULL, rom_size, PROT_READ, MAP_SHARED, fd, in passthru_init_rom() 751 int error = pci_emul_alloc_rom(sc->psc_pi, rom_size, &rom_addr); in passthru_init_rom() 754 munmap(rom_data, rom_size); in passthru_init_rom() 758 memcpy(rom_addr, rom_data, rom_size); in passthru_init_rom() 762 sc->psc_bar[PCI_ROM_IDX].size = rom_size; in passthru_init_rom() 764 munmap(rom_data, rom_size); in passthru_init_rom()
|
H A D | pci_emul.c | 972 const uint64_t rom_size = MAX(1UL << flsl(size), in pci_emul_alloc_rom() local 976 if (pci_emul_romoffset + rom_size > PCI_EMUL_ROMSIZE) { in pci_emul_alloc_rom() 980 warnx("%16lu bytes required by %d/%d/%d", rom_size, pdi->pi_bus, in pci_emul_alloc_rom() 987 rom_size); in pci_emul_alloc_rom() 998 pci_emul_romoffset += rom_size; in pci_emul_alloc_rom()
|
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_chip.h | 1163 uint32_t rom_size:3; member
|
H A D | nge_chip.c | 1005 ee_cntl.cntl_bits.rom_size = EEPROM_32K; in nge_chip_reset()
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | pcicfg.c | 5790 int *fcode_size, int rom_paddr, int rom_size) in pcicfg_load_fcode() argument 5826 p.pci_size_low = rom_size; in pcicfg_load_fcode()
|