summary refs log tree commit diff stats
path: root/hw/timer/sh_timer.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-05-04 10:16:52 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-06-22 18:37:12 +0200
commit95f4dc444a99ea91534b4ac9237bdec3b2581588 (patch)
tree686ccb52dd6720a15beb8b91e728433fc227983a /hw/timer/sh_timer.c
parentba2afd0eb2c5ca0b23feb347369660d0577c225f (diff)
downloadfocaccia-qemu-95f4dc444a99ea91534b4ac9237bdec3b2581588.tar.gz
focaccia-qemu-95f4dc444a99ea91534b4ac9237bdec3b2581588.zip
hw/sh4: Extract timer definitions to 'hw/timer/tmu012.h'
Extract timer definitions to 'hw/timer/tmu012.h'.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/timer/sh_timer.c')
-rw-r--r--hw/timer/sh_timer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/timer/sh_timer.c b/hw/timer/sh_timer.c
index 13c4051808..b9cbacf5d0 100644
--- a/hw/timer/sh_timer.c
+++ b/hw/timer/sh_timer.c
@@ -9,10 +9,12 @@
  */
 
 #include "qemu/osdep.h"
+#include "exec/memory.h"
 #include "hw/hw.h"
 #include "hw/irq.h"
 #include "hw/sh4/sh.h"
 #include "qemu/timer.h"
+#include "hw/timer/tmu012.h"
 #include "hw/ptimer.h"
 
 //#define DEBUG_TIMER