fix: ata probe
This commit is contained in:
parent
29e5ba8116
commit
67e14345ff
|
@ -103,7 +103,9 @@ ata_probe:
|
||||||
mov bx, ax
|
mov bx, ax
|
||||||
xor ecx, ecx
|
xor ecx, ecx
|
||||||
.loop:
|
.loop:
|
||||||
|
push ecx
|
||||||
call ata_wait
|
call ata_wait
|
||||||
|
pop ecx
|
||||||
|
|
||||||
; select drive
|
; select drive
|
||||||
mov dx, bx
|
mov dx, bx
|
||||||
|
@ -172,7 +174,6 @@ ata_probe:
|
||||||
jmp .drive_found
|
jmp .drive_found
|
||||||
@@:
|
@@:
|
||||||
.drive_found:
|
.drive_found:
|
||||||
|
|
||||||
push ecx
|
push ecx
|
||||||
mov esi, szMsgAtaFound
|
mov esi, szMsgAtaFound
|
||||||
call klog
|
call klog
|
||||||
|
|
Loading…
Reference in a new issue