>>> On 02.09.15 at 13:33, <stefano.stabell...@eu.citrix.com> wrote: > The current gunzip code to decompress the Dom0 kernel is implemented in > inflate.c which is included by bzimage.c. > > I am looking to doing the same on ARM64 but there is quite a bit of > boilerplate definitions that I would need to import in order for > inflate.c to work correctly. > > Instead of copying/pasting the code from x86/bzimage.c, move those > definitions to a new common file, gunzip.c. Export only perform_gunzip > and gzip_check. Leave output_length where it is. > > Signed-off-by: Stefano Stabellini <stefano.stabell...@eu.citrix.com>
Acked-by: Jan Beulich <jbeul...@suse.com> provided ... > --- a/xen/common/Makefile > +++ b/xen/common/Makefile > @@ -55,6 +55,7 @@ obj-y += vmap.o > obj-y += vsprintf.o > obj-y += wait.o > obj-y += xmalloc_tlsf.o > +obj-bin-y += gunzip.init.o ... this gets moved to its alphabetically correct place. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel