aboutsummaryrefslogtreecommitdiff
path: root/include/hw/timer/armv7m_systick.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/timer/armv7m_systick.h')
-rw-r--r--include/hw/timer/armv7m_systick.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/timer/armv7m_systick.h b/include/hw/timer/armv7m_systick.h
index 97cb345ddb..84496faaf9 100644
--- a/include/hw/timer/armv7m_systick.h
+++ b/include/hw/timer/armv7m_systick.h
@@ -14,6 +14,7 @@
#include "hw/sysbus.h"
#include "qom/object.h"
+#include "hw/ptimer.h"
#define TYPE_SYSTICK "armv7m_systick"
@@ -27,7 +28,7 @@ struct SysTickState {
uint32_t control;
uint32_t reload;
int64_t tick;
- QEMUTimer *timer;
+ ptimer_state *ptimer;
MemoryRegion iomem;
qemu_irq irq;
};