Subversion Repositories Kolibri OS

Rev

Rev 5675 | Rev 5792 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5675 Rev 5787
Line 69... Line 69...
69
format binary as "mnt"
69
format binary as "mnt"
Line 70... Line 70...
70
 
70
 
71
include 'macros.inc'
71
include 'macros.inc'
Line 72... Line 72...
72
include 'struct.inc'
72
include 'struct.inc'
Line 73... Line 73...
73
 
73
 
74
$Revision: 5675 $
74
$Revision: 5787 $
Line 281... Line 281...
281
 
281
 
282
        call    test_cpu
282
        call    test_cpu
Line 283... Line 283...
283
        bts     [cpu_caps-OS_BASE], CAPS_TSC    ;force use rdtsc
283
        bts     [cpu_caps-OS_BASE], CAPS_TSC    ;force use rdtsc
-
 
284
 
284
 
285
        call    check_acpi
285
        call    check_acpi
286
        call    init_hpet
286
        call    init_BIOS32
287
        call    init_BIOS32
287
; MEMORY MODEL
288
; MEMORY MODEL
288
        call    mem_test
289
        call    mem_test
Line 695... Line 696...
695
 
696
 
696
        dec     eax
697
        dec     eax
697
@@:
698
@@:
Line -... Line 699...
-
 
699
        mov     [clipboard_main_list], eax
-
 
700
 
-
 
701
        mov     eax, [hpet_base]
-
 
702
        test    eax, eax
-
 
703
        jz      @F
-
 
704
        DEBUGF  1, "K : HPET base %x\n", eax
-
 
705
        mov     eax, [hpet_period]
-
 
706
        DEBUGF  1, "K : HPET period %d\n", eax
-
 
707
        mov     eax, [hpet_timers]
-
 
708
        DEBUGF  1, "K : HPET timers %d\n", eax
-
 
709
 
-
 
710
        mov     eax, [hpet_base]
-
 
711
        stdcall map_io_mem, [hpet_base], 1024, PG_GLOBAL+PAT_UC+PG_SWR
-
 
712
        mov     [hpet_base], eax
-
 
713
 
-
 
714
        mov     eax, [eax]
-
 
715
        DEBUGF  1, "K : HPET caps %x\n", eax
698
        mov     [clipboard_main_list], eax
716
 
Line 699... Line 717...
699
 
717
@@:
700
; SET UP OS TASK
718
; SET UP OS TASK