]> git.proxmox.com Git - mirror_qemu.git/commit
hw/arm/aspeed: Dynamically allocate AspeedMachineState::soc field
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 24 Oct 2023 16:24:15 +0000 (18:24 +0200)
committerCédric Le Goater <clg@kaod.org>
Wed, 25 Oct 2023 07:52:44 +0000 (09:52 +0200)
commit3c392e87df051d457429274af55fe967808d6cb6
treee0fd1de6ae90bd2b3566026e3f00feb4a6a8e8cf
parentaa6c6697bbab5130f962d227924cfe7f94cbee19
hw/arm/aspeed: Dynamically allocate AspeedMachineState::soc field

We want to derivate the big AspeedSoCState object in some more
SoC-specific ones. Since the object size will vary, allocate it
dynamically.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/arm/aspeed.c