OSDev.org
https://forum.osdev.org/

Where can I learn about MSI and MSI-X?
https://forum.osdev.org/viewtopic.php?f=15&t=36497
Page 1 of 1

Author:  slammar [ Fri Feb 07, 2020 7:47 pm ]
Post subject:  Where can I learn about MSI and MSI-X?

Hello. I'm trying to develop an OS that communicates with USB devices.

I am reading the XHCI spec and in chapter 4.2 it mentions that in order to initialize the host controller you may initialize interrupts by allocating and initialising the MSI-X Message Table among other things and then it suggest to refer to the PCI spec for more details.

I know interrupts are optional and you have also the option of polling the Event Rings instead, but I'd love to know more about MSI to be able to use interrups.

Author:  Korona [ Sat Feb 08, 2020 9:11 am ]
Post subject:  Re: Where can I learn about MSI and MSI-X?

You can read abozt the PCI side of MSIs in the PCI spec and about the local APIC side in the Intel manual (APIC section). Overall, MSI are pretty simple, require no special setup and aside from the format of the address and data words, there is little to learn about them.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/