mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 21:21:04 +01:00
20fc5bf7df
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 |
||
---|---|---|
.. | ||
evtchn | ||
xenbus | ||
xenmem | ||
xenstore | ||
blkif.h | ||
error.h | ||
evtchn.h | ||
features.c | ||
features.h | ||
gntdev.h | ||
gnttab.h | ||
hvm.h | ||
hypervisor.h | ||
privcmd.h | ||
xen_common.c | ||
xen_intr.h | ||
xen_pv.h | ||
xen-os.h |