ahci: complete read/write sectors function

This commit is contained in:
Michael Shaw 2023-05-07 15:21:04 -04:00
commit 69ee1fd79c
6 changed files with 75 additions and 11 deletions

View file

@ -104,7 +104,7 @@ void irq_unmap(uint8_t irq)
int irq_highest_free()
{
for (int i = 15; i >= 0; i--) {
for (int i = 14; i >= 0; i--) {
if (!irq_mapped[i])
return i;
}