Page MenuHomeFreeBSD

xen: update interface headers
Needs ReviewPublic

Authored by ehem_freebsd_m5p.com on Mar 17 2021, 1:00 AM.

Details

Reviewers
royger
mhorne
Summary

This is a verbatim copy of the public headers from Xen commit
747424c664bb164a04e7a9f2ffbf02d4a1630d7d (post 4.15).

Notably for FreeBSD this includes fixes of ARM64 which make them
compatible with FreeBSD's kernel build environment (previously had
typeof() instead of typeof()).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 42096
Build 38984: arc lint + arc unit

Event Timeline

I usually import the whole headers at once in order to keep them in sync with specific versions. I would be fine if you just pick the whole contents of the public/ folder after your change and dump it directly on FreeBSD.

Updating to reflect plans. These headers may well deserve further update later.

ehem_freebsd_m5p.com retitled this revision from xen/public: replace typeof() with __typeof__() to xen: update interface headers.Sat, Oct 16, 1:31 AM
ehem_freebsd_m5p.com edited the summary of this revision. (Show Details)

This was updated to reflect more up to date Xen public headers. One thing I noted during full update, the "gcov.h" header seems to have been removed some time ago. The last update copied newer headers on top, but missed removing (likely to how git functions).

I'm unsure of the time frame for when this gets put in.

I suggest these should really move to sys/contrib/xen. There are two reasons for this. First, these are purely maintained outside of FreeBSD. Second, this avoids people doing cleanup on these headers and hopefully suggests updates should go upstream. I've got things in place to do this, just say the word.