aboutsummaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-29 19:40:09 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-29 19:40:09 +0000
commitcd1a3f6840e9f4b57860ee0d151347e6ade73d11 (patch)
tree6ff12121214c047e15121213ca4fe6954e599584 /vl.h
parent0d78f544dede6b3cb16eda8fd3462fb0aa001a18 (diff)
Stand-alone TMU emulation code, by Magnus Damm.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3269 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r--vl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/vl.h b/vl.h
index ea7a05e3f2..43adc2450d 100644
--- a/vl.h
+++ b/vl.h
@@ -1517,6 +1517,12 @@ typedef struct {
int sh7750_register_io_device(struct SH7750State *s,
sh7750_io_device * device);
+/* sh_timer.c */
+#define TMU012_FEAT_TOCR (1 << 0)
+#define TMU012_FEAT_3CHAN (1 << 1)
+#define TMU012_FEAT_EXTCLK (1 << 2)
+void tmu012_init(uint32_t base, int feat, uint32_t freq);
+
/* tc58128.c */
int tc58128_init(struct SH7750State *s, char *zone1, char *zone2);