freebsd-dev/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 xen: switch to use headers in contrib 2022-02-07 10:11:56 +01:00
error.h xen: switch to use headers in contrib 2022-02-07 10:11:56 +01:00
evtchn.h
features.c
features.h xen: switch to use headers in contrib 2022-02-07 10:11:56 +01:00
gntdev.h xen(3): Fix a typo in a source code comment 2022-03-28 19:32:53 +02:00
gnttab.h xen: switch to use headers in contrib 2022-02-07 10:11:56 +01:00
hvm.h xen: switch to use headers in contrib 2022-02-07 10:11:56 +01:00
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