Subversion Repositories Kolibri OS

Rev

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

Rev 8111 Rev 8119
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: 8111 $
74
$Revision: 8119 $
Line 644... Line 644...
644
        mov     [cr4_ap+OS_BASE], eax
644
        mov     [cr4_ap+OS_BASE], eax
645
        mov     esi, OS_BASE + ap_init16
645
        mov     esi, OS_BASE + ap_init16
646
        mov     edi, OS_BASE + 8000h
646
        mov     edi, OS_BASE + 8000h
647
        mov     ecx, (ap_init16_size + 3) / 4
647
        mov     ecx, (ap_init16_size + 3) / 4
648
        rep movsd
648
        rep movsd
-
 
649
        mov     eax, [LAPIC_BASE]
-
 
650
        test    eax, eax
-
 
651
        jnz     @f
649
        stdcall map_io_mem, [acpi_lapic_base], 0x1000, PG_GLOBAL+PG_NOCACHE+PG_SWR
652
        stdcall map_io_mem, [acpi_lapic_base], 0x1000, PG_GLOBAL+PG_NOCACHE+PG_SWR
650
        mov     [LAPIC_BASE], eax
653
        mov     [LAPIC_BASE], eax
-
 
654
@@:
651
        lea     edi, [eax+300h]
655
        lea     edi, [eax+APIC_ICRL]
652
        mov     esi, smpt+4
656
        mov     esi, smpt+4
653
        dec     ebx
657
        dec     ebx
654
.wake_cpus_loop:
658
.wake_cpus_loop:
655
        lodsd
659
        lodsd
656
        push    esi
660
        push    esi