xref: /illumos-gate/usr/src/compat/bhyve/README (revision d8e10381a0083d7717710b0db7e64707bc0f3ff8)
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