mbox series

[0/5] Clean up of gzip decompressor

Message ID 20240411152518.2995-1-dpsmith@apertussolutions.com (mailing list archive)
Headers show
Series Clean up of gzip decompressor | expand

Message

Daniel P. Smith April 11, 2024, 3:25 p.m. UTC
An issue ran into by hyperlaunch was the need to use the gzip decompressor
multiple times. The current implementation fails when reused due to tainting of
decompressor state from a previous usage. This series seeks to colocate the
gzip unit files under a single directory similar to the other decompression
algorithms.  To enable the refactoring of the state tracking, the code is then
cleaned up in line with Xen coding style.

Daniel P. Smith (5):
  gzip: colocate gunzip code files
  gzip: clean up comments and fix code alignment
  gzip: refactor state tracking
  gzip: move crc state into consilidated gzip state
  gzip: move huffman code table tracking into gzip state

 xen/common/Makefile             |   2 +-
 xen/common/gzip/Makefile        |   1 +
 xen/common/{ => gzip}/gunzip.c  |  73 ++-
 xen/common/{ => gzip}/inflate.c | 912 ++++++++++++++++----------------
 4 files changed, 504 insertions(+), 484 deletions(-)
 create mode 100644 xen/common/gzip/Makefile
 rename xen/common/{ => gzip}/gunzip.c (64%)
 rename xen/common/{ => gzip}/inflate.c (57%)