freebsd-src/sys/arm64/vmm
Mark Johnston 5f13d6b607 vmm: Move common accessors and vm_eventinfo into sys/dev/vmm
Now that struct vm and struct vcpu are defined in headers, provide
inline accessors.  We could just remove the accessors outright, but they
don't hurt and it would result in unneeded churn.

As a part of this, consolidate definitions related to struct
vm_eventinfo as well.  I'm not sure if struct vm_eventinfo is really
needed anymore, now that vmmops_run implementations can directly access
vm and vcpu fields, but this can be resolved later.

No functional change intended.

MFC after:	2 months
Sponsored by:	The FreeBSD Foundation
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D53586
2026-01-08 21:54:16 +00:00
..
io vmm: Move common accessors and vm_eventinfo into sys/dev/vmm 2026-01-08 21:54:16 +00:00
arm64.h vmm: Make vmmops declarations more consistent 2025-10-10 13:22:40 +00:00
hyp.h arm64/vmm: Remove support for reading CNTHCTL_EL2 2025-09-23 18:08:36 +01:00
mmu.h
reset.h
vmm.c vmm: Move common accessors and vm_eventinfo into sys/dev/vmm 2026-01-08 21:54:16 +00:00
vmm_arm64.c vmm: Consolidate vm and vcpu definitions 2026-01-08 21:53:31 +00:00
vmm_call.S arm64: Support BTI checking in most of the kernel 2024-06-05 09:23:40 +00:00
vmm_dev_machdep.c vmm: Move local variables into ioctl handlers 2025-10-21 17:34:48 +00:00
vmm_handlers.c arm64/vmm: Convert the handlers into ifuncs 2024-08-20 08:49:16 +00:00
vmm_handlers.h arm64/vmm: Create functions to call into EL2 2024-08-20 08:49:15 +00:00
vmm_hyp.c arm64/vmm: Remove armreg.h when not needed 2025-10-27 11:36:17 +00:00
vmm_hyp_el2.S arm64: Support BTI checking in most of the kernel 2024-06-05 09:23:40 +00:00
vmm_hyp_exception.S arm64/vmm: Mark asm files as supporting BTI 2024-08-20 08:49:16 +00:00
vmm_instruction_emul.c
vmm_mmu.c arm64: Remove ATTR_DEFAULT from pte.h 2024-09-05 13:12:17 +01:00
vmm_nvhe.c arm64/vmm: Teach the switcher about new registers 2024-08-20 08:49:15 +00:00
vmm_nvhe_exception.S arm64/vmm: Move nVHE-only code to the new file 2024-08-20 08:49:15 +00:00
vmm_reset.c vmm: Move common accessors and vm_eventinfo into sys/dev/vmm 2026-01-08 21:54:16 +00:00
vmm_stat.h vmm: Move duplicated stats code into a generic file 2024-08-26 18:41:14 +00:00
vmm_vhe.c arm64/vmm: Add the VHE exception and switcher files 2024-08-20 08:49:16 +00:00
vmm_vhe_exception.S arm64/vmm: Add the VHE exception and switcher files 2024-08-20 08:49:16 +00:00