opnsense-src/sys/amd64/include
Mark Johnston 7c0d94051b 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

(cherry picked from commit 5f13d6b60740c021951ae0e4d096903cfa1679e2)
2026-03-31 15:57:29 +00:00
..
pc
xen xen: add SPDX license tags to Xen headers 2023-12-15 14:59:25 +01:00
_align.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
_bus.h _bus.h: Use standard licnese text 2023-11-13 12:25:30 -07:00
_inttypes.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
_limits.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
_pmap.h
_stdint.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
_types.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
acpica_machdep.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
apm_bios.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
asan.h
asm.h Remove stray whitespaces from sys/amd64/ 2024-09-21 07:05:46 -06:00
asmacros.h
atomic.h x86 atomics: Remove unused WANT_FUNCTIONS 2024-12-17 15:48:22 +01:00
bus.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
bus_dma.h Remove stray whitespaces from sys/amd64/ 2024-09-21 07:05:46 -06:00
clock.h
counter.h
cpu.h vmm: Correctly suspend and resume the vmm driver. 2024-11-29 14:38:35 -07:00
cpufunc.h amd64 cpufunc.h: add rcs(), to read code selector 2025-09-28 03:43:50 +03:00
cputypes.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
csan.h
db_machdep.h
dump.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
efi.h amd64: allow the mapping of other regions for efirt 2025-07-06 22:26:07 +03:00
elf.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
endian.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
exec.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
fdt.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
float.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
floatingpoint.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
fpu.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
frame.h
gdb_machdep.h
ieeefp.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
ifunc.h x86: add machine/ifunc.h 2026-01-27 02:38:22 +02:00
in_cksum.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
intr_machdep.h
iodev.h
iommu.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
kdb.h
limits.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
md_var.h amd64: add prototype for ia32_syscall() 2026-03-27 01:42:56 +02:00
memdev.h
metadata.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
minidump.h
msan.h msan: Fix typo 2024-04-11 11:28:09 -06:00
nexusvar.h
npx.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ofw_machdep.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
param.h amd64: Remove support for "nooptions SMP" 2025-07-21 14:57:52 +00:00
pcb.h amd64: add pcb_tlsbase 2025-05-28 14:11:23 +03:00
pci_cfgreg.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
pcpu.h amd64 pcpu: fix clobbers, suppress warnings, and clean up 2024-07-03 08:36:31 -07:00
pcpu_aux.h amd64 pcpu: fix clobbers, suppress warnings, and clean up 2024-07-03 08:36:31 -07:00
pmap.h amd64 pmap: add kva_layout.kva_max 2025-07-22 16:58:53 +03:00
pmc_mdep.h
proc.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
procctl.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
profile.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
psl.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
pte.h amd64: add machine/pte.h 2024-11-26 21:48:27 +02:00
ptrace.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
pvclock.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
reg.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
reloc.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
resource.h Remove stray whitespaces from sys/amd64/ 2024-09-21 07:05:46 -06:00
sdt_machdep.h sdt: Use a multibyte nop for tracepoints on amd64 2024-07-08 11:40:06 -04:00
segments.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
setjmp.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
sf_buf.h Remove stray whitespaces from sys/amd64/ 2024-09-21 07:05:46 -06:00
sgx.h
sgxreg.h
sigframe.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
signal.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
smp.h amd64: Make start_all_aps() static 2026-03-20 18:00:21 +08:00
specialreg.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
stack.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
stdarg.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
sysarch.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
tls.h
trap.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
tss.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
ucontext.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
vdso.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
vm.h
vmm.h vmm: Move common accessors and vm_eventinfo into sys/dev/vmm 2026-03-31 15:57:29 +00:00
vmm_dev.h vmm: Consolidate VM name length checking 2025-11-18 14:57:33 +00:00
vmm_instruction_emul.h vmm: Support INOUT manual decode. 2025-07-24 06:09:50 -04:00
vmm_snapshot.h vmm: Fix compiling error with BHYVE_SNAPSHOT 2024-02-06 10:38:34 -05:00
vmparam.h amd64 K*SAN: add kva_layout members for K*SAN maps 2025-07-22 16:58:47 +03:00