Home
last modified time | relevance | path

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

/freebsd-14.2/usr.sbin/bhyve/
H A Dbootrom.c197 char *ptr, *romfile; in bootrom_loadrom() local
215 romfile = strdup(bootrom); in bootrom_loadrom()
216 if (romfile == NULL) { in bootrom_loadrom()
220 fd = open(romfile, O_RDONLY); in bootrom_loadrom()
223 romfile, strerror(errno)); in bootrom_loadrom()
228 EPRINTLN("Could not fstat bootrom file \"%s\": %s", romfile, in bootrom_loadrom()
281 "file %s: %ld bytes", i, romfile, rlen); in bootrom_loadrom()
311 free(romfile); in bootrom_loadrom()
H A Dpci_passthru.c742 passthru_init_rom(struct passthru_softc *const sc, const char *const romfile) in passthru_init_rom() argument
744 if (romfile == NULL) { in passthru_init_rom()
748 const int fd = open(romfile, O_RDONLY); in passthru_init_rom()
750 warnx("%s: can't open romfile \"%s\"", __func__, romfile); in passthru_init_rom()
756 warnx("%s: can't fstat romfile \"%s\"", __func__, romfile); in passthru_init_rom()
766 romfile, errno); in passthru_init_rom()
/freebsd-14.2/usr.sbin/bhyve/amd64/
H A Dpci_lpc.c97 const char *romfile, *varfile, *tpm_type, *tpm_path; in lpc_device_parse() local
104 romfile = strsep(&str, ","); in lpc_device_parse()
105 if (romfile == NULL) { in lpc_device_parse()
108 set_config_value("lpc.bootrom", romfile); in lpc_device_parse()