Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5786 → Rev 5787

/kernel/trunk/kernel.asm
283,6 → 283,7
bts [cpu_caps-OS_BASE], CAPS_TSC ;force use rdtsc
 
call check_acpi
call init_hpet
call init_BIOS32
; MEMORY MODEL
call mem_test
697,6 → 698,23
@@:
mov [clipboard_main_list], eax
 
mov eax, [hpet_base]
test eax, eax
jz @F
DEBUGF 1, "K : HPET base %x\n", eax
mov eax, [hpet_period]
DEBUGF 1, "K : HPET period %d\n", eax
mov eax, [hpet_timers]
DEBUGF 1, "K : HPET timers %d\n", eax
 
mov eax, [hpet_base]
stdcall map_io_mem, [hpet_base], 1024, PG_GLOBAL+PAT_UC+PG_SWR
mov [hpet_base], eax
 
mov eax, [eax]
DEBUGF 1, "K : HPET caps %x\n", eax
 
@@:
; SET UP OS TASK
 
mov esi, boot_setostask