diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-09-29 19:40:09 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-09-29 19:40:09 +0000 |
commit | cd1a3f6840e9f4b57860ee0d151347e6ade73d11 (patch) | |
tree | 6ff12121214c047e15121213ca4fe6954e599584 /vl.h | |
parent | 0d78f544dede6b3cb16eda8fd3462fb0aa001a18 (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.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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); |