freebsd-skq/sys/xen/interface
royger c1bb2e3246 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
2015-10-06 11:29:44 +00:00
..
arch-arm/hvm Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
arch-x86 Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
hvm Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
io Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
xsm Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
arch-arm.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
arch-x86_32.h
arch-x86_64.h
callback.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
COPYING
dom0_ops.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
domctl.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
elfnote.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
errno.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
event_channel.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
features.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
gcov.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
grant_table.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
kexec.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
memory.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
nmi.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
physdev.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
platform.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
pmu.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
sched.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
sysctl.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
tmem.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
trace.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
vcpu.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
version.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
vm_event.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
xen-compat.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
xen.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00
xencomm.h
xenoprof.h Update Xen headers from 4.2 to 4.6 2015-10-06 11:29:44 +00:00