/[qemu]
ViewVC logotype

Revision 5768


Jump to revision: Previous Next
Author: aurel32
Date: Fri Nov 21 21:06:42 2008 UTC (15 years ago)
Changed paths: 5
Log Message:
SH4: Use qemu_irq in timer emulation.

        * hw/sh.h (tmu012_init): Accept qemu_irq, not intc_source.
        * hw/sh7750.c (sh7750_init): Pass qemu_irq to tmu012_init.
        * hw/sh_intc.c (sh_intc_set_irq): New.
        (sh_intc_init): Allocate irqs.
        * hw/sh_intc.h (struct intc_desc): New field irqs.
        * hw/sh_timer.c (sh_timer_state): Use qemu_irq, not intc_source.
        (sh_timer_update): Use qemu_set_irq, not sh_intc_toggle_source.
        (sh_timer_init, tmu012_init): Adjust.

(Vladimir Prus)

Changed paths:

Path Details
Directorytrunk/hw/sh.h modified , text changed
Directorytrunk/hw/sh7750.c modified , text changed
Directorytrunk/hw/sh_intc.c modified , text changed
Directorytrunk/hw/sh_intc.h modified , text changed
Directorytrunk/hw/sh_timer.c modified , text changed

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.5