How to enable the MSI in BOCHS?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Oython
Posts: 15
Joined: Wed Aug 03, 2022 8:17 pm
Libera.chat IRC: no

How to enable the MSI in BOCHS?

Post by Oython »

Recently I found that my driver can't work on BOCHS.After my inspection, I found the problem was that BOCHS does not support MSI, especially on xHC.I have searched for the solutions on the Internet but found nothing helpful.Could anyone tell me how to enable the MSI in BOCHS?
Octocontrabass
Member
Member
Posts: 6248
Joined: Mon Mar 25, 2013 7:01 pm

Re: How to enable the MSI in BOCHS?

Post by Octocontrabass »

Bochs doesn't support MSI. You can't enable it because it doesn't exist.
Oython
Posts: 15
Joined: Wed Aug 03, 2022 8:17 pm
Libera.chat IRC: no

Re: How to enable the MSI in BOCHS?

Post by Oython »

Thanks for your reply.By the way, could you tell me how to get interruptions from pci devices in other ways?
Octocontrabass
Member
Member
Posts: 6248
Joined: Mon Mar 25, 2013 7:01 pm

Re: How to enable the MSI in BOCHS?

Post by Octocontrabass »

If you're using the legacy PICs, read the Interrupt Line register in the PCI configuration space to see which IRQ line the PCI device is connected to.

If you're using APIC, use ACPI or read the MP tables to see which IOAPIC pin the PCI device is connected to.
Post Reply