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/include/bios.h | 1 + 1 file changed, 1 insertion(+) (limited to 'mubios/include') diff --git a/mubios/include/bios.h b/mubios/include/bios.h index 979e445..c52af80 100644 --- a/mubios/include/bios.h +++ b/mubios/include/bios.h @@ -60,6 +60,7 @@ void vga_text_mode_init (void); void ivt_init (void); +void ata_init (void); u8 ata_read_sectors28 (u32 lba, u16 *buffer, u16 count); u8 ata_reset (void); u8 ata_identify (u16 *cylinders, u16 *heads, u16 *sectors_per_track, -- cgit v1.2.3