]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add zstd support to the boot loader.
authorimp <imp@FreeBSD.org>
Mon, 12 Oct 2020 22:19:07 +0000 (22:19 +0000)
committerimp <imp@FreeBSD.org>
Mon, 12 Oct 2020 22:19:07 +0000 (22:19 +0000)
commit6fbadee898c077fa82e4488fbcc2b382580731f0
tree802281ee096b50f2ca9590873e19f4623fad0c6a
parentec450635b18667f7ada622da032bb93dcd9bd7f7
Add zstd support to the boot loader.

Add support to the _STANDALONE environment enough bits of the kernel
that we can compile it. We still have a small zstd_shim.c since there
were 3 items that were a bit hard to nail down and may be cleaned up
in the future. These go hand in hand with a number of commits to
sys/sys in the past weeks, should this need be MFCd.

Discussed with: mmacy (in review and on IRC/Slack)
Reviewed by: freqlabs (on openzfs repo)
Differential Revision: https://reviews.freebsd.org/D26218
27 files changed:
stand/efi/boot1/Makefile
stand/libsa/zfs/Makefile.inc
stand/libsa/zfs/zfsimpl.c
stand/libsa/zfs/zstd_shim.c [new file with mode: 0644]
sys/cddl/boot/zfs/zfsimpl.h
sys/cddl/boot/zfs/zfssubr.c
sys/cddl/contrib/opensolaris/uts/common/os/list.c [deleted file]
sys/contrib/openzfs/include/os/freebsd/linux/compiler.h
sys/contrib/openzfs/include/os/freebsd/spl/rpc/xdr.h
sys/contrib/openzfs/include/os/freebsd/spl/sys/atomic.h
sys/contrib/openzfs/include/os/freebsd/spl/sys/byteorder.h
sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h
sys/contrib/openzfs/include/os/freebsd/spl/sys/cmn_err.h
sys/contrib/openzfs/include/os/freebsd/spl/sys/condvar.h
sys/contrib/openzfs/include/os/freebsd/spl/sys/kmem.h
sys/contrib/openzfs/include/os/freebsd/spl/sys/kmem_cache.h
sys/contrib/openzfs/include/os/freebsd/spl/sys/kstat.h
sys/contrib/openzfs/include/os/freebsd/spl/sys/proc.h
sys/contrib/openzfs/include/os/freebsd/spl/sys/procfs_list.h
sys/contrib/openzfs/include/os/freebsd/spl/sys/sig.h
sys/contrib/openzfs/include/os/freebsd/spl/sys/sysmacros.h
sys/contrib/openzfs/include/os/freebsd/spl/sys/taskq.h
sys/contrib/openzfs/include/os/freebsd/spl/sys/uio.h
sys/contrib/openzfs/include/sys/nvpair.h
sys/contrib/openzfs/include/sys/zfs_context.h
sys/contrib/openzfs/lib/libspl/include/os/freebsd/sys/param.h
sys/contrib/openzfs/module/os/freebsd/spl/list.c