HomeFreeBSD

FreeBSD: make adjustments for the standalone environment

Description

FreeBSD: make adjustments for the standalone environment

In FreeBSD, there are three compile environments that are supported:
user land, the kernel and the bootloader / standalone. Adjust the
headers to compile in the standalone environment. Limit kernel-only
items from view when _STANDALONE is defined.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Warner Losh <imp@FreeBSD.org>
Closes #10998

Details

Provenance
imp_bsdimp.comAuthored on Oct 14 2020, 4:05 AM
GitHub <noreply@github.com>Committed on Oct 14 2020, 4:05 AM
Parents
rG57dc5d42b185: dmu_zfetch: don't leak unreferenced stream when zfetch is freed
Branches
Unknown
Tags
Unknown