162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) Facebook, Inc.
462306a36Sopenharmony_ci * All rights reserved.
562306a36Sopenharmony_ci *
662306a36Sopenharmony_ci * This source code is licensed under both the BSD-style license (found in the
762306a36Sopenharmony_ci * LICENSE file in the root directory of this source tree) and the GPLv2 (found
862306a36Sopenharmony_ci * in the COPYING file in the root directory of this source tree).
962306a36Sopenharmony_ci * You may select, at your option, one of the above-listed licenses.
1062306a36Sopenharmony_ci */
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci/*
1362306a36Sopenharmony_ci * This file includes every .c file needed for decompression.
1462306a36Sopenharmony_ci * It is used by lib/decompress_unzstd.c to include the decompression
1562306a36Sopenharmony_ci * source into the translation-unit, so it can be used for kernel
1662306a36Sopenharmony_ci * decompression.
1762306a36Sopenharmony_ci */
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci/*
2062306a36Sopenharmony_ci * Disable the ASM Huffman implementation because we need to
2162306a36Sopenharmony_ci * include all the sources.
2262306a36Sopenharmony_ci */
2362306a36Sopenharmony_ci#define ZSTD_DISABLE_ASM 1
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci#include "common/debug.c"
2662306a36Sopenharmony_ci#include "common/entropy_common.c"
2762306a36Sopenharmony_ci#include "common/error_private.c"
2862306a36Sopenharmony_ci#include "common/fse_decompress.c"
2962306a36Sopenharmony_ci#include "common/zstd_common.c"
3062306a36Sopenharmony_ci#include "decompress/huf_decompress.c"
3162306a36Sopenharmony_ci#include "decompress/zstd_ddict.c"
3262306a36Sopenharmony_ci#include "decompress/zstd_decompress.c"
3362306a36Sopenharmony_ci#include "decompress/zstd_decompress_block.c"
3462306a36Sopenharmony_ci#include "zstd_decompress_module.c"
35