mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
loader: remove load_image_gzipped function as its not used anywhere
load_image_gzipped() does not seem to be used anywhere. Remove it. Signed-off-by: Ani Sinha <anisinha@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20240711072448.32673-1-anisinha@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
1ee5f64572
commit
a376a8d58a
2 changed files with 1 additions and 16 deletions
|
@ -77,15 +77,13 @@ ssize_t load_image_targphys(const char *filename, hwaddr,
|
|||
ssize_t load_image_mr(const char *filename, MemoryRegion *mr);
|
||||
|
||||
/* This is the limit on the maximum uncompressed image size that
|
||||
* load_image_gzipped_buffer() and load_image_gzipped() will read. It prevents
|
||||
* load_image_gzipped_buffer() will read. It prevents
|
||||
* g_malloc() in those functions from allocating a huge amount of memory.
|
||||
*/
|
||||
#define LOAD_IMAGE_MAX_GUNZIP_BYTES (256 << 20)
|
||||
|
||||
ssize_t load_image_gzipped_buffer(const char *filename, uint64_t max_sz,
|
||||
uint8_t **buffer);
|
||||
ssize_t load_image_gzipped(const char *filename, hwaddr addr, uint64_t max_sz);
|
||||
|
||||
/**
|
||||
* unpack_efi_zboot_image:
|
||||
* @buffer: pointer to a variable holding the address of a buffer containing the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue