qemu-e2k/hw/ppc
Gabriel L. Somlo 48779e5018 fw_cfg: fix FW_CFG_BOOT_DEVICE update on ppc and sparc
On ppc, sparc, and sparc64, the value of the FW_CFG_BOOT_DEVICE 16bit
fw_cfg entry is repeatedly modified from a series of callbacks, which
currently results in the previous value's dynamically allocated memory
being leaked.

This patch switches updating to the new fw_cfg_modify_i16() call, which
does not cause memory leaks.

Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2015-06-10 08:00:37 +02:00
..
e500-ccsr.h
e500.c hw/ppc/e500.c: Fix memory leak 2015-06-03 14:21:24 +03:00
e500.h
e500plat.c
mac_newworld.c fw_cfg: fix FW_CFG_BOOT_DEVICE update on ppc and sparc 2015-06-10 08:00:37 +02:00
mac_oldworld.c fw_cfg: fix FW_CFG_BOOT_DEVICE update on ppc and sparc 2015-06-10 08:00:37 +02:00
mac.h
Makefile.objs spapr_drc: initial implementation of sPAPRDRConnector device 2015-06-03 23:56:52 +02:00
mpc8544_guts.c
mpc8544ds.c
ppc4xx_devs.c
ppc4xx_pci.c
ppc405_boards.c
ppc405_uc.c
ppc405.h
ppc440_bamboo.c
ppc_booke.c
ppc.c
ppce500_spin.c
prep.c hw/ppc/prep.c: Fix misusing qemu_allocate_irqs for single irq 2015-06-03 14:21:24 +03:00
spapr_drc.c spapr_drc: add spapr_drc_populate_dt() 2015-06-03 23:56:54 +02:00
spapr_events.c spapr_events: event-scan RTAS interface 2015-06-03 23:56:53 +02:00
spapr_hcall.c
spapr_iommu.c hw/ppc/spapr_iommu: Fix the check for invalid upper bits in liobn 2015-06-03 23:56:51 +02:00
spapr_pci_vfio.c
spapr_pci.c spapr_pci: emit hotplug add/remove events during hotplug 2015-06-03 23:56:55 +02:00
spapr_rtas.c spapr_rtas: add ibm, configure-connector RTAS interface 2015-06-03 23:56:53 +02:00
spapr_rtc.c
spapr_vio.c spapr_vio: Introduce a liobn number generating macros 2015-06-03 23:56:50 +02:00
spapr.c pseries: Enable in-kernel H_LOGICAL_CI_{LOAD, STORE} implementations 2015-06-03 23:56:55 +02:00
virtex_ml507.c