diff options
author | Jia Tan <jiat0218@gmail.com> | 2024-01-22 23:33:39 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2024-01-23 23:05:41 +0800 |
commit | 440a2eccb082dc13400c09e22308a58fef85146c (patch) | |
tree | 9fad0290823c312e34e85911cf4f8677325480db /src/liblzma/api | |
parent | Docs: Update .xz file format specification to 1.2.0. (diff) | |
download | xz-440a2eccb082dc13400c09e22308a58fef85146c.tar.xz |
liblzma: Add RISC-V BCJ filter.
The new Filter ID is 0x0B.
Thanks to Chien Wong <m@xv97.com> for the initial version of the Filter,
the xz CLI updates, and the Autotools build system modifications.
Thanks to Igor Pavlov for his many contributions to the design of
the filter.
Diffstat (limited to 'src/liblzma/api')
-rw-r--r-- | src/liblzma/api/lzma/bcj.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/liblzma/api/lzma/bcj.h b/src/liblzma/api/lzma/bcj.h index 0c84e0cf..6c700c75 100644 --- a/src/liblzma/api/lzma/bcj.h +++ b/src/liblzma/api/lzma/bcj.h @@ -53,6 +53,11 @@ */ #define LZMA_FILTER_ARM64 LZMA_VLI_C(0x0A) +/** + * \brief Filter for RISC-V binaries + */ +#define LZMA_FILTER_RISCV LZMA_VLI_C(0x0B) + /** * \brief Options for BCJ filters |