Implement ATA DMA driver in JOS
Posted: Sat May 27, 2017 8:24 pm
Hi
I would like to implement an ATA driver using DMA for JOS.
I encountered the following examples, but non of them worked for me:
https://github.com/mallardtheduck/osdev ... ta/dma.cpp
https://github.com/ichaos/jos/blob/mast ... /dev/ide.c
I'm getting an error when I'm reading the status register of the device during the read procedure.
I'm working with QEMU.
I would be glad to have a simple working example.
Thanks a lot!
Elad
I would like to implement an ATA driver using DMA for JOS.
I encountered the following examples, but non of them worked for me:
https://github.com/mallardtheduck/osdev ... ta/dma.cpp
https://github.com/ichaos/jos/blob/mast ... /dev/ide.c
I'm getting an error when I'm reading the status register of the device during the read procedure.
I'm working with QEMU.
I would be glad to have a simple working example.
Thanks a lot!
Elad