Revision 703243a0 hw/sh7750.c
b/hw/sh7750.c | ||
---|---|---|
559 | 559 |
|
560 | 560 |
tmu012_init(0x1fd80000, |
561 | 561 |
TMU012_FEAT_TOCR | TMU012_FEAT_3CHAN | TMU012_FEAT_EXTCLK, |
562 |
s->periph_freq); |
|
563 |
|
|
562 |
s->periph_freq, |
|
563 |
sh_intc_source(&s->intc, TMU0), |
|
564 |
sh_intc_source(&s->intc, TMU1), |
|
565 |
sh_intc_source(&s->intc, TMU2_TUNI), |
|
566 |
sh_intc_source(&s->intc, TMU2_TICPI)); |
|
564 | 567 |
|
565 | 568 |
if (cpu_model & (SH_CPU_SH7750 | SH_CPU_SH7750S | SH_CPU_SH7751)) { |
566 | 569 |
sh_intc_register_sources(&s->intc, |
... | ... | |
578 | 581 |
sh_intc_register_sources(&s->intc, |
579 | 582 |
_INTC_ARRAY(vectors_tmu34), |
580 | 583 |
NULL, 0); |
581 |
tmu012_init(0x1e100000, 0, s->periph_freq); |
|
584 |
tmu012_init(0x1e100000, 0, s->periph_freq, |
|
585 |
sh_intc_source(&s->intc, TMU3), |
|
586 |
sh_intc_source(&s->intc, TMU4), |
|
587 |
NULL, NULL); |
|
582 | 588 |
} |
583 | 589 |
|
584 | 590 |
if (cpu_model & (SH_CPU_SH7751_ALL)) { |
Also available in: Unified diff