Home
last modified time | relevance | path

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

/freebsd/usr.sbin/bhyve/
H A Dbootrom.c200 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 Dpci_passthru.c741 passthru_init_rom(struct passthru_softc *const sc, const char *const romfile) in passthru_init_rom() argument
743 if (romfile == NULL) { in passthru_init_rom()
747 const int fd = open(romfile, O_RDONLY); in passthru_init_rom()
749 warnx("%s: can't open romfile \"%s\"", __func__, romfile); in passthru_init_rom()
755 warnx("%s: can't fstat romfile \"%s\"", __func__, romfile); in passthru_init_rom()
765 romfile, errno); in passthru_init_rom()
/freebsd/usr.sbin/bhyve/amd64/
H A Dpci_lpc.c96 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("lpc.bootrom", romfile); in lpc_device_parse()