freebsd-dev/sys/amd64
Corvin Köhne e47fe3183e bhyve: add ROM emulation
Some PCI devices especially GPUs require a ROM to work properly.
The ROM is executed by boot firmware to initialize the device.
To add a ROM to a device use the new ROM option for passthru device
(e.g. -s passthru,0/2/0,rom=<path>/<to>/<rom>).

It's necessary that the ROM is executed by the boot firmware.
It won't be executed by any OS.
Additionally, the boot firmware should be configured to execute the
ROM file.
For that reason, it's only possible to use a ROM when using
OVMF with enabled bus enumeration.

Differential Revision:	https://reviews.freebsd.org/D33129
Sponsored by:   Beckhoff Automation GmbH & Co. KG
MFC after:      1 month
2022-03-10 12:30:37 +01:00
..
acpica amd64 wakeup: rework trampoline page allocation 2021-09-14 00:23:15 +03:00
amd64 Fix the spelling of EFI_PAGE_SIZE 2022-03-10 10:43:54 +00:00
conf lio: remove from NOIP 2022-01-05 14:19:34 -07:00
ia32 exec: Introduce the PROC_PS_STRINGS() macro 2022-01-17 16:11:54 -05:00
include bhyve: Remove VM_MAXCPU from the userspace API/ABI. 2022-03-09 15:39:28 -08:00
linux exec: Introduce the PROC_PS_STRINGS() macro 2022-01-17 16:11:54 -05:00
linux32 linux_copyout_strings: Use PROC_PS_STRINGS(). 2022-02-04 15:57:57 -08:00
pci pci_cfgreg.c: Use io port config access for early boot time. 2019-04-09 18:07:17 +00:00
sgx Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
vmm bhyve: add ROM emulation 2022-03-10 12:30:37 +01:00
Makefile Bring the tags and links entries for amd64 up to date. 2021-09-27 20:04:51 -07:00