summaryrefslogtreecommitdiffstats
path: root/hw/timer
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-05-04 10:16:52 +0200
committerPhilippe Mathieu-Daudé2020-06-22 18:37:12 +0200
commit95f4dc444a99ea91534b4ac9237bdec3b2581588 (patch)
tree686ccb52dd6720a15beb8b91e728433fc227983a /hw/timer
parenthw/sh4: Use MemoryRegion typedef (diff)
downloadqemu-95f4dc444a99ea91534b4ac9237bdec3b2581588.tar.gz
qemu-95f4dc444a99ea91534b4ac9237bdec3b2581588.tar.xz
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')
-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