]> git.proxmox.com Git - mirror_zfs.git/commit
FreeBSD: make adjustments for the standalone environment
authorWarner Losh <imp@bsdimp.com>
Wed, 14 Oct 2020 04:05:49 +0000 (22:05 -0600)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 16 Oct 2020 20:04:41 +0000 (13:04 -0700)
commitfbfc7e843adbd5139e255b56691eb17f286446cd
tree706ea27a84302a67e899d50d42fddc7bcb1d43bd
parentfaa62966b1b35268a5aec87d3fa0082b9bf02fc9
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
20 files changed:
include/os/freebsd/linux/compiler.h
include/os/freebsd/spl/rpc/xdr.h
include/os/freebsd/spl/sys/atomic.h
include/os/freebsd/spl/sys/byteorder.h
include/os/freebsd/spl/sys/ccompile.h
include/os/freebsd/spl/sys/cmn_err.h
include/os/freebsd/spl/sys/condvar.h
include/os/freebsd/spl/sys/kmem.h
include/os/freebsd/spl/sys/kmem_cache.h
include/os/freebsd/spl/sys/kstat.h
include/os/freebsd/spl/sys/proc.h
include/os/freebsd/spl/sys/procfs_list.h
include/os/freebsd/spl/sys/sig.h
include/os/freebsd/spl/sys/sysmacros.h
include/os/freebsd/spl/sys/taskq.h
include/os/freebsd/spl/sys/uio.h
include/sys/nvpair.h
include/sys/zfs_context.h
lib/libspl/include/os/freebsd/sys/param.h
module/os/freebsd/spl/list.c