opnsense-src/sys/amd64
Mark Johnston e3333648b7 vmm: Start reconciling amd64 and arm64 copies of vmm_dev.c
Most of the code in vmm_dev.c and vmm.c can and should be shared between
amd64 and arm64 (and eventually riscv) rather than being duplicated.  To
the end of adding a shared implementation in sys/dev/vmm, this patch
eliminates most of the differences between the two copies of vmm_dev.c.

- Remove an unneeded cdefs.h include.
- Simplify the amd64 implementation of vcpu_unlock_one().
- Simplify the arm64 implementation of vcpu_lock_one().
- Pass buffer sizes to alloc_memseg() and get_memseg() on arm64.  On
  amd64 this is needed for compat ioctls, but these functions should be
  merged.
- Make devmem_mmap_single() stricter on arm64.

Reviewed by:	corvink, jhb
Differential Revision:	https://reviews.freebsd.org/D44995
2024-05-08 12:11:03 -04:00
..
acpica sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
amd64 sigtramp: Fix typo 2024-04-11 11:28:27 -06:00
conf MINIMAL: Grow minimal to support ata, scsi and nvme 2024-05-03 09:08:03 -06:00
ia32 freebsd32: struct siginfo32 -> struct __siginfo32 2024-03-19 23:13:26 +00:00
include vmm: Fix typo 2024-04-11 11:28:16 -06:00
linux sysproto.h: sys/acl.h -> sys/types.h 2024-04-15 21:35:41 +01:00
linux32 sysproto.h: sys/acl.h -> sys/types.h 2024-04-15 21:35:41 +01:00
pci x86: Adjust base addr for PCI MCFG regions 2023-12-27 13:14:47 -08:00
sgx Reduce reliance on sys/sysproto.h pollution 2024-04-15 21:35:40 +01:00
vmm vmm: Start reconciling amd64 and arm64 copies of vmm_dev.c 2024-05-08 12:11:03 -04:00
Makefile sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00