Home
last modified time | relevance | path

Searched hist:"48779 e501810c5046ff8af7b9cf9c99bec2928a1" (Results 1 – 4 of 4) sorted by relevance

/qemu/hw/ppc/
H A Dmac_oldworld.c48779e501810c5046ff8af7b9cf9c99bec2928a1 Mon Jun 08 18:10:45 UTC 2015 Gabriel L. Somlo <somlo@cmu.edu> 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>
H A Dmac_newworld.c48779e501810c5046ff8af7b9cf9c99bec2928a1 Mon Jun 08 18:10:45 UTC 2015 Gabriel L. Somlo <somlo@cmu.edu> 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>
/qemu/hw/sparc/
H A Dsun4m.c48779e501810c5046ff8af7b9cf9c99bec2928a1 Mon Jun 08 18:10:45 UTC 2015 Gabriel L. Somlo <somlo@cmu.edu> 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>
/qemu/hw/sparc64/
H A Dsun4u.c48779e501810c5046ff8af7b9cf9c99bec2928a1 Mon Jun 08 18:10:45 UTC 2015 Gabriel L. Somlo <somlo@cmu.edu> 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>