]> git.proxmox.com Git - mirror_qemu.git/commit
hw/arm/iotkit: Refactor into abstract base class and subclass
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 1 Feb 2019 14:55:41 +0000 (14:55 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 1 Feb 2019 14:55:41 +0000 (14:55 +0000)
commit4c3690b591b9b8f62c7ddc7fabf4f60e29b0921d
tree7d241eb0e26d386eff97e5329ecb84199feaa40b
parent93dbd10347871133b3e005d6826defbd41d63371
hw/arm/iotkit: Refactor into abstract base class and subclass

The Arm SSE-200 Subsystem for Embedded is a revised and
extended version of the older IoTKit SoC. Prepare for
adding a model of it by refactoring the IoTKit code into
an abstract base class which contains the functionality,
driven by a class data block specific to each subclass.
(This is the same approach used by the existing bcm283x
SoC family implementation.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190121185118.18550-6-peter.maydell@linaro.org
hw/arm/iotkit.c
include/hw/arm/iotkit.h