Revision bf5b7423 hw/sh7750.c
b/hw/sh7750.c | ||
---|---|---|
556 | 556 |
|
557 | 557 |
cpu->intc_handle = &s->intc; |
558 | 558 |
|
559 |
sh_serial_init(0x1fe00000, 0, s->periph_freq, serial_hds[0]); |
|
559 |
sh_serial_init(0x1fe00000, 0, s->periph_freq, serial_hds[0], |
|
560 |
sh_intc_source(&s->intc, SCI1_ERI), |
|
561 |
sh_intc_source(&s->intc, SCI1_RXI), |
|
562 |
sh_intc_source(&s->intc, SCI1_TXI), |
|
563 |
sh_intc_source(&s->intc, SCI1_TEI), |
|
564 |
NULL); |
|
560 | 565 |
sh_serial_init(0x1fe80000, SH_SERIAL_FEAT_SCIF, |
561 |
s->periph_freq, serial_hds[1]); |
|
566 |
s->periph_freq, serial_hds[1], |
|
567 |
sh_intc_source(&s->intc, SCIF_ERI), |
|
568 |
sh_intc_source(&s->intc, SCIF_RXI), |
|
569 |
sh_intc_source(&s->intc, SCIF_TXI), |
|
570 |
NULL, |
|
571 |
sh_intc_source(&s->intc, SCIF_BRI)); |
|
562 | 572 |
|
563 | 573 |
tmu012_init(0x1fd80000, |
564 | 574 |
TMU012_FEAT_TOCR | TMU012_FEAT_3CHAN | TMU012_FEAT_EXTCLK, |
Also available in: Unified diff