Subversion Repositories Kolibri OS

Rev

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

Rev 5356 Rev 5359
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2014. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2014. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 5356 $
8
$Revision: 5359 $
9
 
9
 
10
 
10
 
Line 61... Line 61...
61
        mov     [acpi_dev_size], ebx
61
        mov     [acpi_dev_size], ebx
Line 62... Line 62...
62
 
62
 
Line 63... Line 63...
63
        call    IRQ_mask_all
63
        call    IRQ_mask_all
64
 
64
 
65
; IOAPIC init
65
; IOAPIC init
Line 66... Line 66...
66
        stdcall map_io_mem, [acpi_ioapic_base], 0x20, PG_SWR+PG_NOCACHE
66
        stdcall map_io_mem, [acpi_ioapic_base], 0x20, PG_GLOBAL+PG_NOCACHE+PG_SWR
67
        mov     [IOAPIC_base], eax
67
        mov     [IOAPIC_base], eax
68
 
68
 
Line 125... Line 125...
125
LAPIC_init:
125
LAPIC_init:
Line 126... Line 126...
126
 
126
 
127
        cmp     [LAPIC_BASE], 0
127
        cmp     [LAPIC_BASE], 0
Line 128... Line 128...
128
        jne     .done
128
        jne     .done
129
 
129
 
130
        stdcall map_io_mem, [acpi_lapic_base], 0x1000, PG_SWR+PG_NOCACHE
130
        stdcall map_io_mem, [acpi_lapic_base], 0x1000, PG_GLOBAL+PG_NOCACHE+PG_SWR
Line 131... Line 131...
131
        mov     [LAPIC_BASE], eax
131
        mov     [LAPIC_BASE], eax
132
        mov     esi, eax
132
        mov     esi, eax