xen/arm: support gzip compressed kernels
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 29 Sep 2015 15:59:04 +0000 (16:59 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 1 Oct 2015 11:52:57 +0000 (12:52 +0100)
commitc1be0b102e0e8c558753cb37ee681bf4230fe949
treee23c10cff8f5e769ef7b5c9125a26bd43c09987c
parent3d278130e2c250030280540909f2ff8e97a9b418
xen/arm: support gzip compressed kernels

Free the memory used for the compressed kernel and update the relative
mod->start and mod->size parameters with the uncompressed ones.

To decompress the kernel, allocate memory from dommheap, because freeing
the modules is done by calling init_heap_pages, which frees to domheap.
Map these pages using vmap, because they might not be in the linear 1:1
map.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
CC: ian.campbell@citrix.com
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/kernel.c
xen/arch/arm/setup.c
xen/include/asm-arm/setup.h