summaryrefslogtreecommitdiffstats
path: root/include/hw/timer
diff options
context:
space:
mode:
authorPeter Maydell2021-08-12 11:33:35 +0200
committerPeter Maydell2021-09-01 12:08:18 +0200
commitfeb8ef35af34fea2b508426ea210681cd354378c (patch)
tree8b8661c780e782260226a3d30dae362da41eecb7 /include/hw/timer
parentarm: Move system PPB container handling to armv7m (diff)
downloadqemu-feb8ef35af34fea2b508426ea210681cd354378c.tar.gz
qemu-feb8ef35af34fea2b508426ea210681cd354378c.tar.xz
qemu-feb8ef35af34fea2b508426ea210681cd354378c.zip
hw/timer/armv7m_systick: Add usual QEMU interface comment
Add the usual-style QEMU interface comment documenting what properties, etc, this device exposes. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Luc Michel <luc@lmichel.fr> Message-id: 20210812093356.1946-5-peter.maydell@linaro.org
Diffstat (limited to 'include/hw/timer')
-rw-r--r--include/hw/timer/armv7m_systick.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/hw/timer/armv7m_systick.h b/include/hw/timer/armv7m_systick.h
index 84496faaf9..685fc5bc0d 100644
--- a/include/hw/timer/armv7m_systick.h
+++ b/include/hw/timer/armv7m_systick.h
@@ -20,6 +20,13 @@
OBJECT_DECLARE_SIMPLE_TYPE(SysTickState, SYSTICK)
+/*
+ * QEMU interface:
+ * + sysbus MMIO region 0 is the register interface (covering
+ * the registers which are mapped at address 0xE000E010)
+ * + sysbus IRQ 0 is the interrupt line to the NVIC
+ */
+
struct SysTickState {
/*< private >*/
SysBusDevice parent_obj;