Hi everyone,

I'm trying to add a pci device, and I need to assign an interrupt line to
the controller I created. Looking at the setup for the ide controller
(configured as dev 4 on pci bus), we have "source_bus_irq = 0 + (4 << 2)"
and "dest_io_apic_intin = 16" in X86IntelMPIOIntAssignment.

I tried going over the code to figure out the interrupt PIN assignments
(for both source and destination), but found it more complicated that I
thought. Can anyone comment/explain on how this setup is done? Are we
simply shifting the source id? Can two PCI devices share the same
destination PIN given there are no logical interference?

Your feedback would be appreciated!

Best,
-- 
Pouya Fotouhi
PhD Candidate
Department of Electrical and Computer Engineering
University of California, Davis
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to