^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # This is a modified version of zlib, which does all memory
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) # allocation ahead of time.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) # This is only the decompression, see zlib_deflate for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) # the compression
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) # Decompression needs to be serialized for each memory
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) # allocation.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) # (The upsides of the simplification is that you can't get in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) # any nasty situations wrt memory management, and that the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) # uncompression can be done without blocking on allocation).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) obj-$(CONFIG_ZLIB_INFLATE) += zlib_inflate.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) zlib_inflate-objs := inffast.o inflate.o infutil.o \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) inftrees.o inflate_syms.o