mirror of
https://github.com/mii443/qemu.git
synced 2025-08-31 11:29:26 +00:00
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
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user