Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5645 → Rev 5644

/kernel/branches/Kolibri-acpi/init.inc
438,7 → 438,6
acpi_hpet_base rd 1
hpet_base rd 1
hpet_period rd 1
hpet_timers rd 1
 
cpu_count rd 1
smpt rd 16
606,15 → 605,7
align 4
init_hpet:
mov ebx, [hpet_base-OS_BASE]
test ebx, ebx
jz @F
 
mov eax, [ebx]
and ah, 0x1F
inc ah
movzx eax, ah
mov [hpet_timers-OS_BASE], eax
 
mov eax, [ebx+HPET_PERIOD]
mov edx, 0x431BDE83
mul edx
631,7 → 622,6
 
or eax, HPET_CFG_ENABLE
mov [ebx+HPET_CFG], eax ;and start again
@@:
ret