OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Apr 24, 2024 10:02 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: MP table irq routing
PostPosted: Fri Jul 17, 2020 8:43 am 
Offline
Member
Member

Joined: Sun Apr 05, 2020 1:01 pm
Posts: 183
Hi. I have a question about IRQ sources in the MP tables and how to handle them.

(bottom are busses, and their ids, and above are IOAPIC IRQs src, dst, modes, bus id)
Here's the IOAPIC irq routing in my Bochs, nothing special about it:
Image

QEMU, also nothing special:
Image

And here's VMWare, looks crazy:
Image

Why are there 2 IRQ0 sources from the ISA bus?
Does that mean they're shared?
How would I know for example, which one of them I'm looking for when mapping them in IOAPIC, do I redirect both to the same handler?
What other device can possibly be IRQ0 on the ISA bus other than the PIT?

Thanks.


Top
 Profile  
 
 Post subject: Re: MP table irq routing
PostPosted: Fri Jul 17, 2020 9:17 am 
Offline
Member
Member
User avatar

Joined: Thu Oct 13, 2016 4:55 pm
Posts: 1584
8infy wrote:
What other device can possibly be IRQ0 on the ISA bus other than the PIT?
HPET. It also uses IRQ2, so this could be a workaround to keep compatibility with HPET regardless if the guest OS uses PIC or IOAPIC with legacy-replacement mode. I bet on VMWare you can find a record for HPET in the ACPI tables.

Cheers,
bzt


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot] and 207 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group