]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Update Xen headers from 4.2 to 4.6
authorroyger <royger@FreeBSD.org>
Tue, 6 Oct 2015 11:29:44 +0000 (11:29 +0000)
committerroyger <royger@FreeBSD.org>
Tue, 6 Oct 2015 11:29:44 +0000 (11:29 +0000)
commitc1bb2e3246dc6cf235535737449549cc16265dda
tree2676d5622b3a36ed986be512a7cda0d369b42c51
parent94c16d891ee59ecdc9436e9a5ce921af7f873910
Update Xen headers from 4.2 to 4.6

Pull the latest headers for Xen which allow us to add support for ARM and
use new features in FreeBSD.

This is a verbatim copy of the xen/include/public so every headers which
don't exits anymore in the Xen repositories have been dropped.

Note the interface version hasn't been bumped, it will be done in a
follow-up. Although, it requires fix in the code to get it compiled:

 - sys/xen/xen_intr.h: evtchn_port_t is already defined in the headers so
   drop it.

 - {amd64,i386}/include/intr_machdep.h: NR_EVENT_CHANNELS now depends on
   xen/interface/event_channel.h, so include it.

 - {amd64,i386}/{amd64,i386}/support.S: It's not neccessary to include
   machine/intr_machdep.h. This is also fixing build compilation with the
   new headers.

 - dev/xen/blkfront/blkfront.c: The typedef for blkif_request_segmenthas
   been dropped. So directly use struct blkif_request_segment

Finally, modify xen/interface/xen-compat.h to throw a preprocessing error if
__XEN_INTERFACE_VERSION__ is not set. This is allow us to catch any file
where xen/xen-os.h is not correctly included.

Submitted by: Julien Grall <julien.grall@citrix.com>
Reviewed by: royger
Differential Revision: https://reviews.freebsd.org/D3805
Sponsored by: Citrix Systems R&D
74 files changed:
sys/amd64/amd64/support.S
sys/amd64/include/intr_machdep.h
sys/dev/xen/blkfront/blkfront.c
sys/i386/i386/support.s
sys/i386/include/intr_machdep.h
sys/xen/interface/acm.h [deleted file]
sys/xen/interface/acm_ops.h [deleted file]
sys/xen/interface/arch-arm.h
sys/xen/interface/arch-arm/hvm/save.h
sys/xen/interface/arch-powerpc.h [deleted file]
sys/xen/interface/arch-x86/cpuid.h
sys/xen/interface/arch-x86/hvm/save.h
sys/xen/interface/arch-x86/pmu.h [new file with mode: 0644]
sys/xen/interface/arch-x86/xen-mca.h
sys/xen/interface/arch-x86/xen-x86_32.h
sys/xen/interface/arch-x86/xen-x86_64.h
sys/xen/interface/arch-x86/xen.h
sys/xen/interface/callback.h
sys/xen/interface/dom0_ops.h
sys/xen/interface/domctl.h
sys/xen/interface/elfnote.h
sys/xen/interface/elfstructs.h [deleted file]
sys/xen/interface/errno.h [new file with mode: 0644]
sys/xen/interface/event_channel.h
sys/xen/interface/features.h
sys/xen/interface/foreign/Makefile [deleted file]
sys/xen/interface/foreign/mkchecker.py [deleted file]
sys/xen/interface/foreign/mkheader.py [deleted file]
sys/xen/interface/foreign/reference.size [deleted file]
sys/xen/interface/foreign/structs.py [deleted file]
sys/xen/interface/gcov.h [new file with mode: 0644]
sys/xen/interface/grant_table.h
sys/xen/interface/hvm/e820.h
sys/xen/interface/hvm/hvm_info_table.h
sys/xen/interface/hvm/hvm_op.h
sys/xen/interface/hvm/hvm_xs_strings.h [new file with mode: 0644]
sys/xen/interface/hvm/ioreq.h
sys/xen/interface/hvm/params.h
sys/xen/interface/hvm/pvdrivers.h [new file with mode: 0644]
sys/xen/interface/hvm/save.h
sys/xen/interface/io/blkif.h
sys/xen/interface/io/console.h
sys/xen/interface/io/fbif.h
sys/xen/interface/io/kbdif.h
sys/xen/interface/io/libxenvchan.h
sys/xen/interface/io/netif.h
sys/xen/interface/io/pciif.h
sys/xen/interface/io/protocols.h
sys/xen/interface/io/ring.h
sys/xen/interface/io/tpmif.h
sys/xen/interface/io/usbif.h
sys/xen/interface/io/vscsiif.h
sys/xen/interface/io/xenbus.h
sys/xen/interface/io/xs_wire.h
sys/xen/interface/kexec.h
sys/xen/interface/libelf.h [deleted file]
sys/xen/interface/mem_event.h [deleted file]
sys/xen/interface/memory.h
sys/xen/interface/nmi.h
sys/xen/interface/physdev.h
sys/xen/interface/platform.h
sys/xen/interface/pmu.h [new file with mode: 0644]
sys/xen/interface/sched.h
sys/xen/interface/sysctl.h
sys/xen/interface/tmem.h
sys/xen/interface/trace.h
sys/xen/interface/vcpu.h
sys/xen/interface/version.h
sys/xen/interface/vm_event.h [new file with mode: 0644]
sys/xen/interface/xen-compat.h
sys/xen/interface/xen.h
sys/xen/interface/xenoprof.h
sys/xen/interface/xsm/flask_op.h
sys/xen/xen_intr.h