Subversion Repositories Kolibri OS

Rev

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

Rev 6246 Rev 6252
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: 6246 $
74
$Revision: 6252 $
Line 532... Line 532...
532
        rep stosd                           ; access to 4096*8=65536 ports
532
        rep stosd                           ; access to 4096*8=65536 ports
Line 533... Line 533...
533
 
533
 
534
        mov     ax, tss0
534
        mov     ax, tss0
Line -... Line 535...
-
 
535
        ltr     ax
-
 
536
 
-
 
537
        mov     eax, sys_proc
-
 
538
        list_init eax
-
 
539
        add     eax, PROC.thr_list
535
        ltr     ax
540
        list_init eax
536
 
541
 
537
        call    init_video
542
        call    init_video
538
        call    init_mtrr
543
        call    init_mtrr
539
        mov     [LFBAddress], LFB_BASE
544
        mov     [LFBAddress], LFB_BASE
Line 623... Line 628...
623
; SET UP OS TASK
628
; SET UP OS TASK
Line 624... Line 629...
624
 
629
 
625
        mov     esi, boot_setostask
630
        mov     esi, boot_setostask
Line 626... Line -...
626
        call    boot_log
-
 
627
 
631
        call    boot_log
628
        mov     eax, sys_proc
632
 
Line 629... Line -...
629
        lea     edi, [eax+PROC.heap_lock]
-
 
630
        mov     ecx, (PROC.ht_free-PROC.heap_lock)/4
-
 
631
 
-
 
632
        list_init eax
-
 
633
        add     eax, PROC.thr_list
633
        mov     edi, sys_proc+PROC.heap_lock
634
        list_init eax
634
        mov     ecx, (PROC.ht_free-PROC.heap_lock)/4
635
 
635
 
Line 636... Line 636...
636
        xor     eax, eax
636
        xor     eax, eax