From c3c996300c7c9231363ed1450ef63c9bd7a52f46 Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Tue, 10 Nov 2026 03:10:57 +0800 Subject: [mubios] Fix legacy interrupt routing and enable PIIX IDE channels Keep IOAPIC inputs masked and deliver legacy PIC interrupts through LVT0 only, avoiding extra ExtINT routes that leave PIC and APIC interrupts in service. Enumerate the root PCI bus for the PIIX3 IDE controller during POST. Enable I/O decoding and both IDE channels while preserving their timing configuration so Linux ata_piix probes the disks. Signed-off-by: Richard Qin --- mubios/core/post.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mubios/core') diff --git a/mubios/core/post.c b/mubios/core/post.c index 15d07ed..8d12369 100644 --- a/mubios/core/post.c +++ b/mubios/core/post.c @@ -37,6 +37,7 @@ post_main (void) pic_init (); pit_init (); ioapic_init (); + ata_init (); volatile u8 *mbr; u8 ata_status; -- cgit v1.2.3