History log of /external/xz-embedded/linux/lib/xz/xz_private.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bb321ba0e22154dd36e5656d811e149a5c28b4b1 23-Jul-2011 Lasse Collin <lasse.collin@tukaani.org> Add missing <linux/kernel.h> include.

The min_t macro is defined in <linux/kernel.h>.
On x86 <linux/kernel.h> is included indirectly
via <asm/unaligned.h>, thus the missing include
wasn't caught on x86.

Since <linux/kernel.h> always includes <asm/byteorder.h>,
there's no need to include the latter explicitly.

Thanks to Russel King and and Imre Kaloz.
/external/xz-embedded/linux/lib/xz/xz_private.h
ef91abb814f7e9baa9018b8af184da3b422765ed 25-Nov-2010 Lasse Collin <lasse.collin@tukaani.org> Fix coding style for real.

I clearly wasn't fully awake with the commit ac313d.

Thanks to Andrew Morton.
/external/xz-embedded/linux/lib/xz/xz_private.h
7af581c41d3342d1b247824456ae83f78d071106 24-Nov-2010 Lasse Collin <lasse.collin@tukaani.org> Get rid of XZ_IGNORE_KCONFIG macro.

It's no longer needed because initramfs decompression
uses the regular xz_dec module.

The definitions of memeq(), memzero(), and get_le32()
macros were moved to be done after all headers have
been included. Shouldn't matter in practice but looks
safer just in case some of those names appear in other
headers in the future.
/external/xz-embedded/linux/lib/xz/xz_private.h
4d5e69af1988ec17f76584a36347f8ef6f01d885 20-Nov-2010 Lasse Collin <lasse.collin@tukaani.org> Get rid of XZ_FUNC.

In Linux 2.6.31 (or so) and earlier, the initramfs
decompression had its own compiled copy of the
decompression code that got thrown away after the
kernel had booted. It required that all functions were
marked with __init when built for initramfs decompression.

Nowadays zlib and LZO have a wrapper that requires that
the respective decompressor code has been been enabled (=y)
in the kernel config. Only the wrapper is marked with
__init. This patch helps doing the same with the XZ
decompressor.
/external/xz-embedded/linux/lib/xz/xz_private.h
c4c6f5c427c246a5b08f25105e8a5183c24fd077 08-Jun-2010 Lasse Collin <lasse.collin@tukaani.org> Add support for allocating the LZMA2 dictionary dynamically.

Previously the dictionary was preallocated at initialization
time, which is useful since the decoder cannot then later run
out of memory, but in several cases it is just an annoying
limitation.

It is now possible to enable only the needed operation mode(s)
at build time, which saves a few bytes in code size if only
one or two modes are actually needed. Bigger savings would be
possible especially in single-call mode, but I'll think about
that later.

This commit changes the API by adding the mode argument to
xz_dec_init(). A new return value (XZ_MEM_ERROR) was also added,
but it is used only in the new XZ_DYNALLOC operation mode.
/external/xz-embedded/linux/lib/xz/xz_private.h
0d67d4ea416d6a5832f26c99024f8c29f0ca20dd 30-May-2010 Lasse Collin <lasse.collin@tukaani.org> Silence compiler warnings.

Thanks to Denys Vlasenko.
/external/xz-embedded/linux/lib/xz/xz_private.h
0a877790b64fe2567c6f162dd31d2b677b057e63 02-Sep-2009 Lasse Collin <lasse.collin@tukaani.org> Small fixes to decompress_unxz.c to make it work
correctly for initramfs decompression.
/external/xz-embedded/linux/lib/xz/xz_private.h
6013e9e9ea42683bdb2fe4964f68f1223000c7b1 01-Sep-2009 Lasse Collin <lasse.collin@tukaani.org> Fix infinite loop in single-call mode.

If the input file has BCJ filter and the output buffer
is too small in single-call mode, the LZMA2 decoder went
into an infinite loop. The actual bug was in the BCJ
decoder though, which called the LZMA2 decoder twice
when the output buffer was too small.
/external/xz-embedded/linux/lib/xz/xz_private.h
28892358dcf724b13bf0c49b1e3fa5b29e2d4f09 26-May-2009 Lasse Collin <lasse.collin@tukaani.org> Reworked the code that is inteded to be usable for kernel
and initramfs decompression.

Linux 2.6.30 will have bzip2 and lzma support. This commit
adds a wrapper to convert the native XZ decompressor API to
the decompressor API that is used for kernel and initramfs
decompression in 2.6.30.
/external/xz-embedded/linux/lib/xz/xz_private.h
f88bf0850d6eace21ecdfc43d079093d205599e2 25-May-2009 Lasse Collin <lasse.collin@tukaani.org> Add XZ_EXTERN macro and use it to mark all functions with
external linkage. This is needed to support marking those
functions as static in some situations in the Linux kernel.
XZ_EXTERN may be used for dllimport/dllexport too on some
other operating systems.
/external/xz-embedded/linux/lib/xz/xz_private.h
780d6ad3df286be9c6debf5f73c5647c27ef6cea 26-Apr-2009 Lasse Collin <lasse.collin@tukaani.org> Split the userspace defitions from xz_private.h into
xz_config.h, and generally clean up xz_private.h a little.
Use get_unaligned_le32 and other macros provided by Linux
in xz_dec_stream.c and xz_dec_bcj.c.
/external/xz-embedded/linux/lib/xz/xz_private.h
d85055697ab0919d5ab8d70af61d8fa46e7dc330 17-Apr-2009 Lasse Collin <lasse.collin@tukaani.org> Added BCJ filter decoders.
/external/xz-embedded/linux/lib/xz/xz_private.h
bcc4b36559e38e30afe6030c42ea4f369df94989 22-Mar-2009 Lasse Collin <lasse.collin@tukaani.org> Initial commit
/external/xz-embedded/linux/lib/xz/xz_private.h