armv7m: Split systick out from NVIC
The SysTick timer isn't really part of the NVIC proper; we just modelled it that way back when we couldn't easily have devices that only occupied a small chunk of a memory region. Split it out into its own device. Signed-off-by:Peter Maydell <peter.maydell@linaro.org> Message-id: 1487604965-23220-10-git-send-email-peter.maydell@linaro.org Reviewed-by:
Alex Bennée <alex.bennee@linaro.org>
Showing
- hw/intc/armv7m_nvic.c 34 additions, 126 deletionshw/intc/armv7m_nvic.c
- hw/timer/Makefile.objs 1 addition, 0 deletionshw/timer/Makefile.objs
- hw/timer/armv7m_systick.c 240 additions, 0 deletionshw/timer/armv7m_systick.c
- hw/timer/trace-events 6 additions, 0 deletionshw/timer/trace-events
- include/hw/arm/armv7m_nvic.h 3 additions, 7 deletionsinclude/hw/arm/armv7m_nvic.h
- include/hw/timer/armv7m_systick.h 34 additions, 0 deletionsinclude/hw/timer/armv7m_systick.h
hw/timer/armv7m_systick.c
0 → 100644
include/hw/timer/armv7m_systick.h
0 → 100644
Please register or sign in to comment