Fix r8139: delay_ms was 10x slower when using HPET.
git-svn-id: svn://kolibrios.org@8176 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
5b65357242
commit
c2b9713bb9
@ -3964,7 +3964,7 @@ delay_ms: ; delay in 1/1000 sec
|
||||
cmp [hpet_base], 0
|
||||
jz .no_hpet
|
||||
mov eax, esi
|
||||
mov edx, 10_000_000 ; cs to ns
|
||||
mov edx, 1_000_000 ; ms to ns
|
||||
mul edx
|
||||
mov ebx, edx
|
||||
mov ecx, eax
|
||||
|
Loading…
Reference in New Issue
Block a user