2 * ARM IoTKit system control element
4 * Copyright (c) 2018 Linaro Limited
5 * Written by Peter Maydell
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 or
9 * (at your option) any later version.
13 * This is a model of the "system control element" which is part of the
14 * Arm IoTKit and documented in
15 * http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ecm0601256/index.html
16 * Specifically, it implements the "system information block" and
17 * "system control register" blocks.
20 * + sysbus MMIO region 0: the system information register bank
21 * + sysbus MMIO region 1: the system control register bank
24 #ifndef HW_MISC_IOTKIT_SYSCTL_H
25 #define HW_MISC_IOTKIT_SYSCTL_H
27 #include "hw/sysbus.h"
29 #define TYPE_IOTKIT_SYSCTL "iotkit-sysctl"
30 #define IOTKIT_SYSCTL(obj) OBJECT_CHECK(IoTKitSysCtl, (obj), \
33 typedef struct IoTKitSysCtl
{
35 SysBusDevice parent_obj
;
40 uint32_t secure_debug
;
41 uint32_t reset_syndrome
;