Paolo Bonzini <pbonz...@redhat.com> writes:

> Il 16/10/2013 11:51, Markus Armbruster ha scritto:
>> Let me try to elaborate, to make sure I understand.
>> 
>> Unlike ordinary ISA devices, the i8259 devices need additional wiring,
>> done by code.
>> 
>> For instance, board code like pc_q35_init(), pc_piix.c's pc_init1(),
>> mips_malta_init(), ... wire up their IRQ input lines.  The slave's IRQ
>> output line is wired to the master's IRQ2 in hw/intc/i8259.c for
>> isa-i8259, and the kernel for kvm-i8259.  The master's IRQ output line
>> is wired up by board code (it's complicated).
>> 
>> Correct?  If yes, I can turn it into a suitable comment.
>
> The wiring of the slave to the master is hardcoded into i8259 code.
>
> The wiring of all 16 lines is set up by board code.

Got it, thanks!

Reply via email to