xref: /illumos-gate/usr/src/compat/bhyve/README (revision 6a817834d81cc75ce12d0d393320837b1fec1e85)
1These are the compatibility headers for building bhyve on illumos.  They are
2comprised of the shims and glue needed to use native functionality as the
3backing for FreeBSD interfaces.  It often means heavy use of #include_next,
4#define renames, and forward definitions to some glue functions.
5
6For headers which would otherwise be copied verbatim from FreeBSD, the
7usr/src/contrib/bhyve area is the appropriate home.  This allows us to carry
8only the bare minimum in the 'compat' headers while making updates for the
9'contrib' headers easy (simply copy over the new version).
10