Re: ATA driver problem
Posted: Wed Apr 17, 2024 5:27 pm
What is this code supposed to do? It definitely won't do anything useful.WinExperements wrote:Code: Select all
outb(inter_ata->bar4+4,0x00);
Debugging might be easier if you display the value of the status register from the first time you read it instead of reading it a second time.WinExperements wrote:Code: Select all
kprintf("Status of drive(after sending there commands): 0x%x\n",inb(inter_ata->base+ATA_REG_STATUS));
Where do you acknowledge the interrupt in the interrupt controller?