The BasicPioDevice device only allows listening on one range, but like the name suggests it's a the simplest kind. PioDevice has no such restrictions you just need to do a little more work to get things going that BasicPioDevice does for you.

Also, I believe that the two interrupt controllers are next to each other. Anyway, it's simplest form it's a 8259A interrupt controller:
http://www.nondot.org/sabre/os/files/MiscHW/8259A_PIC_Datasheet.pdf
http://en.wikipedia.org/wiki/Intel_8259

Ali

On Mar 13, 2008, at 11:16 PM, Gabe Black wrote:

I'm still trying to find complete information about the IO APIC, but I believe it two IO port ranges (at least) along with some memory locations all for the same device. The IO ports are to mimic a simpler interrupt controller which would be formed from two simpler cascaded devices. I don't think the way PIO devices are set up currently will allow listening on more than one range of addresses since they have a start and size parameter and that's it. This isn't a critical issue now since I'm just putting IsaFake devices in there now as placeholders, but at some point the IO APIC will have to exist and it will have to listen to more than one address range.

Gabe
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev


_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to