aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2018-08-24 13:17:43 +0100
committerPeter Maydell <peter.maydell@linaro.org>2018-08-24 13:17:43 +0100
commit06e65af39b451c6abe863986a9c60d69bde7718d (patch)
tree6aa45153bbd447c4d75eeea5a6cfb6d810352b3c /include
parentc667a25b324d086c7ea8002dbedeb10929d3b9da (diff)
downloadqemu-06e65af39b451c6abe863986a9c60d69bde7718d.zip
qemu-06e65af39b451c6abe863986a9c60d69bde7718d.tar.gz
qemu-06e65af39b451c6abe863986a9c60d69bde7718d.tar.bz2
hw/misc/iotkit: Wire up the sysctl and sysinfo register blocks
Wire up the system control element's register banks (sysctl and sysinfo). This is the last of the previously completely unimplemented components in the IoTKit. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20180820141116.9118-11-peter.maydell@linaro.org
Diffstat (limited to 'include')
-rw-r--r--include/hw/arm/iotkit.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/hw/arm/iotkit.h b/include/hw/arm/iotkit.h
index 0f5c510..426dc32 100644
--- a/include/hw/arm/iotkit.h
+++ b/include/hw/arm/iotkit.h
@@ -58,7 +58,8 @@
#include "hw/timer/cmsdk-apb-timer.h"
#include "hw/timer/cmsdk-apb-dualtimer.h"
#include "hw/watchdog/cmsdk-apb-watchdog.h"
-#include "hw/misc/unimp.h"
+#include "hw/misc/iotkit-sysctl.h"
+#include "hw/misc/iotkit-sysinfo.h"
#include "hw/or-irq.h"
#include "hw/core/split-irq.h"
@@ -97,6 +98,9 @@ typedef struct IoTKit {
CMSDKAPBWatchdog nswatchdog;
CMSDKAPBWatchdog swatchdog;
+ IoTKitSysCtl sysctl;
+ IoTKitSysCtl sysinfo;
+
MemoryRegion container;
MemoryRegion alias1;
MemoryRegion alias2;