qemu/hw/sparc64
Mark Cave-Ayland 3ac24188ec sun4u: ensure kernel_top is always initialised
Valgrind reports that when loading a non-ELF kernel, kernel_top may be used
uninitialised when checking for an initrd.

Since there are no known non-ELF kernels for SPARC64 then we can simply
initialise kernel_top to 0 and then skip the initrd load process if it hasn't
been set by load_elf().

Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
2018-08-20 19:18:31 +01:00
..
Makefile.objs sun4u: split IOMMU device out from apb.c to sun4u_iommu.c 2018-01-09 21:48:20 +00:00
niagara.c hw/sparc: Use the IEC binary prefix definitions 2018-07-02 15:41:14 +02:00
sparc64.c sparc64: convert hw/sparc64/sparc64.c from DPRINTF macros to trace events 2018-01-25 13:39:34 +00:00
sun4u.c sun4u: ensure kernel_top is always initialised 2018-08-20 19:18:31 +01:00
sun4u_iommu.c iommu: Add IOMMU index argument to translate method 2018-06-15 15:23:34 +01:00
trace-events sparc64: convert hw/sparc64/sparc64.c from DPRINTF macros to trace events 2018-01-25 13:39:34 +00:00