On 1/21/19 10:50 AM, Peter Maydell wrote: > The Arm IoTKit was effectively the forerunner of a series of > subsystems for embedded SoCs, named the SSE-050, SSE-100 and SSE-200: > https://developer.arm.com/products/system-design/subsystems > These are generally quite similar, though later iterations have > extra devices that earlier ones do not. > > We want to add a model of the SSE-200, which means refactoring the > IoTKit code into an abstract base class and subclasses (using the > same design that the bcm283x SoC and Aspeed SoC family > implementations do). As a first step, rename the IoTKit struct and > QOM macros to ARMSSE, which is what we're going to name the base > class. We temporarily retain TYPE_IOTKIT to avoid changing the > code that instantiates a TYPE_IOTKIT device here and then changing > it back again when it is re-introduced as a subclass. > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > include/hw/arm/iotkit.h | 22 ++++++++++----- > hw/arm/iotkit.c | 59 +++++++++++++++++++++-------------------- > hw/arm/mps2-tz.c | 2 +- > 3 files changed, 47 insertions(+), 36 deletions(-) Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~