xen: update interface headersThis is a verbatim copy of the public headers from Xen 4.14.1.No functional change intended.Sponsored by: Citrix Systems R&D
Update Xen headers from 4.2 to 4.6Pull the latest headers for Xen which allow us to add support for ARM anduse new features in FreeBSD.This is a verbatim copy of the xen/include/public so every
Update Xen headers from 4.2 to 4.6Pull the latest headers for Xen which allow us to add support for ARM anduse new features in FreeBSD.This is a verbatim copy of the xen/include/public so every headers whichdon't exits anymore in the Xen repositories have been dropped.Note the interface version hasn't been bumped, it will be done in afollow-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_segmentFinally, 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 filewhere xen/xen-os.h is not correctly included.Submitted by: Julien Grall <[email protected]>Reviewed by: roygerDifferential Revision: https://reviews.freebsd.org/D3805Sponsored by: Citrix Systems R&D
show more ...
Upgrade Xen interface headers to Xen 4.2.1.Move FreeBSD from interface version 0x00030204 to 0x00030208.Updates are required to our grant table implementation before wecan bump this further.sys
Upgrade Xen interface headers to Xen 4.2.1.Move FreeBSD from interface version 0x00030204 to 0x00030208.Updates are required to our grant table implementation before wecan bump this further.sys/xen/hvm.h: Replace the implementation of hvm_get_parameter(), formerly located in sys/xen/interface/hvm/params.h. Linux has a similar file which primarily stores this function.sys/xen/xenstore/xenstore.c: Include new xen/hvm.h header file to get hvm_get_parameter().sys/amd64/include/xen/xen-os.h:sys/i386/include/xen/xen-os.h: Correctly protect function definition and variables from being included into assembly files in xen-os.h Xen memory barriers are now prefixed with "xen_" to avoid conflicts with OS native primatives. Define Xen memory barriers in terms of the native FreeBSD primatives.Sponsored by: Spectra Logic CorporationReviewed by: Roger Pau MonnéTested by: Roger Pau MonnéObtained from: Roger Pau Monné (bug fixes)