ahci: complete read/write sectors function
This commit is contained in:
parent
7db20603f6
commit
69ee1fd79c
6 changed files with 75 additions and 11 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue