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 usr.sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
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 bhyve: Move more amd64-specific code under amd64/ 2023-10-04 12:53:16 -04:00
fwctl.c usr.sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
fwctl.h
inout.c usr.sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
inout.h bhyve: Make most I/O port handling specific to amd64 2023-10-04 12:53:17 -04:00
ioapic.c usr.sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
ioapic.h bhyve: Move legacy PCI interrupt handling under amd64/ 2023-10-04 12:53:17 -04:00
kernemu_dev.c usr.sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
kernemu_dev.h bhyve: Move kernemu to amd64/ 2023-10-04 12:53:16 -04:00
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 bhyve: Move more amd64-specific code under amd64/ 2023-10-04 12:53:16 -04:00
pci_gvt-d-opregion.h bhyve: Move the gvt-d driver to amd64/ 2023-10-04 12:53:16 -04:00
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 bhyve: Move device model-independent UART code into a separate file 2024-03-21 01:04:48 -04:00
pci_lpc.h bhyve: Move legacy PCI interrupt handling under amd64/ 2023-10-04 12:53:17 -04:00
pm.c usr.sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
post.c usr.sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
ps2kbd.c usr.sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
ps2kbd.h
ps2mouse.c usr.sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
ps2mouse.h
rtc.c usr.sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
rtc.h bhyve: Move the RTC driver to amd64/ 2023-10-04 12:53:16 -04:00
spinup_ap.c usr.sbin: Remove repeated words 2024-04-11 11:53:37 -06:00
spinup_ap.h bhyve: Move AP startup code to amd64/ 2023-10-04 12:53:17 -04:00
task_switch.c usr.sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
vga.c usr.sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
vga.h bhyve: Conditionally compile framebuffer-related code 2023-10-04 12:53:17 -04:00
vmexit.c bhyve: refactor gdbstub to enable single-stepping on AMD CPUs 2023-12-12 15:28:59 -08:00
xmsr.c usr.sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
xmsr.h bhyve: Move MSR emulation into amd64/ 2023-10-04 12:53:16 -04:00