freebsd-src/usr.sbin/bhyve/amd64
Corvin Köhne e425e601b9
bhyve: verify OpRegion size
If the OpRegion size doesn't match the size of our igd_opregion struct, it's
using a different layout than we're expecting. To avoid strange issues, we
should exit hard. If we see any devices in the field with a different OpRegion
size, we can analyse it and fix it accordingly.

Reviewed by:		markj
MFC after:		1 week
Sponsored by:		Beckhoff Automation GmbH & Co. KG
Differential Revision:	https://reviews.freebsd.org/D45335
2024-06-04 09:08:49 +02:00
..
atkbdc.c
atkbdc.h
bhyverun_machdep.c bhyve.8: Remove mention of the -A flag 2024-04-24 09:57:12 -04:00
e820.c bhyve: avoid resource leak in error path 2024-05-17 12:26:27 -04:00
e820.h
fwctl.c
fwctl.h
inout.c
inout.h
ioapic.c
ioapic.h
kernemu_dev.c
kernemu_dev.h
Makefile.inc bhyve: Support legacy PCI interrupts on arm64 2024-04-10 11:17:56 -04:00
mptbl.c bhyve: Support legacy PCI interrupts on arm64 2024-04-10 11:17:56 -04:00
mptbl.h
pci_gvt-d-opregion.h
pci_gvt-d.c bhyve: verify OpRegion size 2024-06-04 09:08:49 +02:00
pci_irq.c bhyve: Support legacy PCI interrupts on arm64 2024-04-10 11:17:56 -04:00
pci_irq_machdep.h bhyve: Support legacy PCI interrupts on arm64 2024-04-10 11:17:56 -04:00
pci_lpc.c
pci_lpc.h
pm.c
post.c
ps2kbd.c
ps2kbd.h
ps2mouse.c
ps2mouse.h
rtc.c
rtc.h
spinup_ap.c usr.sbin: Remove repeated words 2024-04-11 11:53:37 -06:00
spinup_ap.h
task_switch.c
vga.c
vga.h
vmexit.c
xmsr.c
xmsr.h