HardenedBSD/sys/xen
Elliott Mitchell 20fc5bf7df xen: move vcpu_info to common, leave hook for setup
vcpu_info is crucial for the Xen event channel core.  Since both the
data and setup steps are identical between architectures, move them to
the common file.  Since there is no cross-architecture method to call
a function on every processor during bring-up, simply leave the setup
function.

The number of vcpu_info structures available on the shared information
page varies by architecture.  Instead of hard-coding the count use
nitems().  Add a warning message for this being used.

Switch to XEN_VCPUID() and use Xen's typedefs.

panic() on failure since >32 processors is no longer unusual.

royger: Specify 64-byte alignment for vcpu_info to try to defend
against vcpu_info crossing a page boundary.  Add detection for this
limit.

Reviewed by: royger
2023-07-21 10:59:12 +02:00
..
evtchn xen/intr: move evtchn_type to intr-internal.h 2023-04-14 15:58:53 +02:00
xenbus spdx: Remove duplicate lines 2023-05-12 10:44:03 -06:00
xenmem
xenstore spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
blkif.h
error.h
evtchn.h
features.c
features.h
gntdev.h
gnttab.h
hvm.h
hypervisor.h xen: remove CONFIG_XEN_COMPAT, purge Xen 3.0 compatibility 2023-04-14 15:58:48 +02:00
privcmd.h
xen_common.c xen: move vcpu_info to common, leave hook for setup 2023-07-21 10:59:12 +02:00
xen_intr.h xen/intr: adjust xen_intr_handle_upcall() to match driver filter 2023-04-14 15:58:52 +02:00
xen_pv.h
xen-os.h xen: move vcpu_info to common, leave hook for setup 2023-07-21 10:59:12 +02:00