]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
refactor: move x86 ATA PIO driver from src/drivers/ata_pio.c to src/hal/x86/ata_pio.c
authorTulio A M Mendes <[email protected]>
Tue, 10 Feb 2026 05:42:24 +0000 (02:42 -0300)
committerTulio A M Mendes <[email protected]>
Tue, 10 Feb 2026 05:42:24 +0000 (02:42 -0300)
commitddafdc2013da785626a198b8a458e4e764affc50
treedf7776ee42aec0511fb3e0c96a93850a8e232cb0
parent7b8a8c1f114c81eb1670d25c169fc5e0e67f93e5
refactor: move x86 ATA PIO driver from src/drivers/ata_pio.c to src/hal/x86/ata_pio.c

ATA PIO uses x86 I/O port instructions (inb/outb/inw/outw) for
disk access. The full implementation now lives in src/hal/x86/ata_pio.c
(no #if guards). src/drivers/ata_pio.c contains only weak stubs
returning -ENOSYS, overridden at link time for x86.

Passes: make, cppcheck, QEMU smoke test.
src/drivers/ata_pio.c
src/hal/x86/ata_pio.c [new file with mode: 0644]