]> 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)
commitf6f684e125ed63ade43bdd526a03a3f77e8a18ca
treefef3da5f99c689793644bb2f78a189bc4b2ae2da
parent7eb66b5729d22ad12ac9610592053a5daa5cf7c8
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]