diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-11-10 03:10:57 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-11-10 03:10:57 +0800 |
| commit | c3c996300c7c9231363ed1450ef63c9bd7a52f46 (patch) | |
| tree | 0db3f82a7fc08fd41f2e11a11f00396b13b33d5b /mubios/include | |
| parent | 7ecf4901b486693e525d3daafc7d6e9c3a4abcd0 (diff) | |
| download | rcc-project-c3c996300c7c9231363ed1450ef63c9bd7a52f46.tar.gz rcc-project-c3c996300c7c9231363ed1450ef63c9bd7a52f46.tar.xz | |
[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 <richard.qin.x@gmail.com>
Diffstat (limited to 'mubios/include')
| -rw-r--r-- | mubios/include/bios.h | 1 |
1 files changed, 1 insertions, 0 deletions
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, |
