Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5791 → Rev 5790

/kernel/trunk/core/apic.inc
447,7 → 447,6
jz .old_tics
 
push ebx
push esi
pushfd
cli
 
457,24 → 456,15
mov eax, [ebx+0xF0]
mov ecx, [ebx+0xF4]
cmp ecx, edx
jne @B
jnz @B
 
mul [hpet_period]
shrd eax, edx, 10
shr edx, 10
mov ecx, [hpet_period]
mov ebx, edx
imul ebx, ecx
mul ecx
add edx, ebx
 
mov ebx, eax
mov esi, edx
 
mov eax, ecx
mul [hpet_period]
shld edx, eax, 22
shl eax, 22
add eax, ebx
adc edx, esi
 
popfd
pop esi
pop ebx
ret