This is a follow-up on my initial work to fix https://gitlab.com/qemu- project/qemu/-/issues/1263. - fix #1263 for CR writes - fix compare timer update - software reset clears the interrupt - do not persist CR.SWR bit - general code cleanup and comment improvements
Axel Heider (11): hw/timer/imx_epit: fix typo in comment hw/timer/imx_epit: improve comments hw/timer/imx_epit: factor out register write handlers hw/timer/imx_epit: remove explicit fields cnt and freq hw/timer/imx_epit: simplify interrupt logic hw/timer/imx_epit: software reset clears the interrupt hw/timer/imx_epit: do not persist CR.SWR bit hw/timer/imx_epit: simplify CR.ENMOD handling hw/timer/imx_epit: cleanup CR defines hw/timer/imx_epit: fix compare timer update hw/timer/imx_epit: rework CR write handling hw/timer/imx_epit.c | 372 +++++++++++++++++++----------------- include/hw/timer/imx_epit.h | 6 +- 2 files changed, 200 insertions(+), 178 deletions(-) -- 2.34.5