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