summaryrefslogtreecommitdiffstats
path: root/sys/dev/xen/timer/timer.c
diff options
context:
space:
mode:
authorroyger <royger@FreeBSD.org>2014-06-16 08:43:45 +0000
committerroyger <royger@FreeBSD.org>2014-06-16 08:43:45 +0000
commita2b989a585f564dca417eafe10f0bcf2b6a32a3a (patch)
tree2b3c91babfe18ca06f7e35d1123445ae7827fb63 /sys/dev/xen/timer/timer.c
parent7c7f3fb2d000c0584e6a496d374e00f708ed9844 (diff)
downloadFreeBSD-src-a2b989a585f564dca417eafe10f0bcf2b6a32a3a.zip
FreeBSD-src-a2b989a585f564dca417eafe10f0bcf2b6a32a3a.tar.gz
xen: add hooks for Xen PV APIC
Create the necessary hooks in order to provide a Xen PV APIC implementation that can be used on PVH. Most of the lapic ops shouldn't be called on Xen, since we trap those operations at a higher layer. Sponsored by: Citrix Systems R&D Approved by: gibbs x86/xen/hvm.c: x86/xen/xen_apic.c: - Move IPI related code to xen_apic.c x86/xen/xen_apic.c: - Introduce Xen PV APIC implementation, most of the functions of the lapic interface should never be called when running as PV(H) guest, so make sure FreeBSD panics when trying to use one of those. - Define the Xen APIC implementation in xen_apic_ops. xen/xen_pv.h: - Extern declaration of the xen_apic struct. x86/xen/pv.c: - Use xen_apic_ops as apic_ops when running as PVH guest. conf/files.amd64: conf/files.i386: - Include the xen_apic.c file in the build of i386/amd64 kernels using XENHVM.
Diffstat (limited to 'sys/dev/xen/timer/timer.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud