hw/timer/armv7m_systick: Add usual QEMU interface comment
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Aug 2021 09:33:35 +0000 (10:33 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 1 Sep 2021 10:08:18 +0000 (11:08 +0100)
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

include/hw/timer/armv7m_systick.h

index 84496faaf969fd3232738a02797fce6be05dd708..685fc5bc0d7e46d82ac4f0b7b3209228eae51cb5 100644 (file)
 
 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;