OSDN Git Service

hw/i386/pc: Initialize ram_memory variable directly
authorBernhard Beschow <shentey@gmail.com>
Mon, 13 Feb 2023 16:20:01 +0000 (17:20 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 19 May 2023 14:30:46 +0000 (10:30 -0400)
commitf9fddaf7ce26acc48fc899673affe957103862a5
treee40b3139096263a69a9e9a8789ee48c974104768
parent8631743c0968d11983a3a04939c580160bb79ac3
hw/i386/pc: Initialize ram_memory variable directly

Going through pc_memory_init() seems quite complicated for a simple
assignment.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230213162004.2797-7-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
include/hw/i386/pc.h