Revision 2507c12a hw/sh_intc.c
b/hw/sh_intc.c | ||
---|---|---|
442 | 442 |
desc->irqs = qemu_allocate_irqs(sh_intc_set_irq, desc, nr_sources); |
443 | 443 |
|
444 | 444 |
desc->iomemtype = cpu_register_io_memory(sh_intc_readfn, |
445 |
sh_intc_writefn, desc); |
|
445 |
sh_intc_writefn, desc, |
|
446 |
DEVICE_NATIVE_ENDIAN); |
|
446 | 447 |
if (desc->mask_regs) { |
447 | 448 |
for (i = 0; i < desc->nr_mask_regs; i++) { |
448 | 449 |
struct intc_mask_reg *mr = desc->mask_regs + i; |
Also available in: Unified diff