Searched refs:romfile (Results 1 – 3 of 3) sorted by relevance
/freebsd/usr.sbin/bhyve/ |
H A D | bootrom.c | 200 char *ptr, *romfile; in bootrom_loadrom() local 218 romfile = strdup(bootrom); in bootrom_loadrom() 219 if (romfile == NULL) { in bootrom_loadrom() 223 fd = open(romfile, O_RDONLY); in bootrom_loadrom() 226 romfile, strerror(errno)); in bootrom_loadrom() 231 EPRINTLN("Could not fstat bootrom file \"%s\": %s", romfile, in bootrom_loadrom() 284 "file %s: %ld bytes", i, romfile, rlen); in bootrom_loadrom() 314 free(romfile); in bootrom_loadrom()
|
H A D | pci_passthru.c | 782 passthru_init_rom(struct passthru_softc *const sc, const char *const romfile) in passthru_init_rom() argument 784 if (romfile == NULL) { in passthru_init_rom() 788 const int fd = open(romfile, O_RDONLY); in passthru_init_rom() 790 warnx("%s: can't open romfile \"%s\"", __func__, romfile); in passthru_init_rom() 796 warnx("%s: can't fstat romfile \"%s\"", __func__, romfile); in passthru_init_rom() 806 romfile, errno); in passthru_init_rom()
|
/freebsd/usr.sbin/bhyve/amd64/ |
H A D | pci_lpc.c | 96 const char *romfile, *varfile, *tpm_type, *tpm_path; in lpc_device_parse() local 103 romfile = strsep(&str, ","); in lpc_device_parse() 104 if (romfile == NULL) { in lpc_device_parse() 107 set_config_value("bootrom", romfile); in lpc_device_parse()
|