- import of minilzo library, - LZO decompression for btrfs, - lzop files decompression. * grub-core/io/lzopio.c: New file. * grub-core/lib/adler32.c: Likewise. * grub-core/lib/minilzo/lzoconf.h: Likewise. * grub-core/lib/minilzo/lzodefs.h: Likewise. * grub-core/lib/minilzo/minilzo.c: Likewise. * grub-core/lib/minilzo/minilzo.h: Likewise. * Makefile.util.def (libgrubmods.a): Add grub-core/io/lzopio.c, grub-core/lib/adler32.c, grub-core/io/lzopio.c, grub-core/lib/minilzo/minilzo.c to common. * Makefile.util.def (libgrubmods.a): Add flags required by minilzo to cflags in cppflags. * grub-core/Makefile.core.def (btrfs): Likewise. * grub-core/Makefile.core.def (lzopio): New module. (adler32): Likewise. * grub-core/fs/btrfs.c: Include minilzo.h. (GRUB_BTRFS_COMPRESSION_LZO): New define. (GRUB_BTRFS_LZO_BLOCK_SIZE): Likewise. (GRUB_BTRFS_LZO_BLOCK_MAX_CSIZE): Likewise. (grub_btrfs_lzo_decompress): New function. (grub_btrfs_extent_read): Add support for LZO compression type. * include/grub/types.h (GRUB_UCHAR_MAX): New define. (GRUB_USHRT_MAX): Likewise. (GRUB_UINT_MAX): Likewise. * grub-core/lib/posix_wrap/limits.h (USHRT_MAX): Likewise. (UINT_MAX): Likewise. (CHAR_BIT): Likewise. * grub-core/lib/posix_wrap/sys/types.h (ULONG_MAX): Moved to grub-core/lib/posix_wrap/limits.h (UCHAR_MAX): Likewise. * include/grub/file.h (grub_file_filter_id): New compression filter GRUB_FILE_FILTER_LZOPIO. * include/grub/file.h (grub_file_filter_id): Set GRUB_FILE_FILTER_LZOPIO as GRUB_FILE_FILTER_COMPRESSION_LAST. * include/grub/types.h (grub_get_unaligned16): New function. (grub_get_unaligned32): Likewise. (grub_get_unaligned64): Likewise. * util/import_gcry.py (cryptolist): Add adler32. |
||
|---|---|---|
| build-aux | ||
| conf | ||
| docs | ||
| grub-core | ||
| include | ||
| m4 | ||
| po | ||
| tests | ||
| unicode | ||
| util | ||
| .bzrignore | ||
| ABOUT-NLS | ||
| AUTHORS | ||
| BUGS | ||
| COPYING | ||
| ChangeLog | ||
| INSTALL | ||
| Makefile.am | ||
| Makefile.util.def | ||
| NEWS | ||
| README | ||
| THANKS | ||
| TODO | ||
| acinclude.m4 | ||
| autogen.sh | ||
| config.h.in | ||
| configure.ac | ||
| geninit.sh | ||
| gentpl.py | ||
README
This is GRUB 2, the second version of the GRand Unified Bootloader. GRUB 2 is rewritten from scratch to make GNU GRUB cleaner, safer, more robust, more powerful, and more portable. See the file NEWS for a description of recent changes to GRUB 2. See the file INSTALL for instructions on how to build and install the GRUB 2 data and program files. Please visit the official web page of GRUB 2, for more information. The URL is <http://www.gnu.org/software/grub/grub.html>. More extensive documentation is available in the Info manual, accessible using 'info grub' after building and installing GRUB 2. Please look at the GRUB Wiki <http://grub.enbug.org> for testing procedures. There are a number of important user-visible differences from the first version of GRUB, now known as GRUB Legacy. For a summary, please see: info grub Introduction 'Changes from GRUB Legacy'