Subversion Repositories Kolibri OS

Rev

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

Rev 8111 Rev 8117
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2020. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2020. 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: 8111 $
8
$Revision: 8117 $
Line 9... Line 9...
9
 
9
 
10
MAX_IOAPICS = 2
10
MAX_IOAPICS = 2
Line 53... Line 53...
53
        jz      .no_apic
53
        jz      .no_apic
Line 54... Line 54...
54
 
54
 
55
        cmp     [acpi_lapic_base], 0
55
        cmp     [acpi_lapic_base], 0
Line -... Line 56...
-
 
56
        jz      .no_apic
-
 
57
 
56
        jz      .no_apic
58
; non-UEFI loaders don't load DEVICES.DAT and don't initialize [acpi_dev_size]
57
 
59
if defined UEFI
58
        cmp     [acpi_dev_size], 0
60
        cmp     [acpi_dev_size], 0
59
        jz      @f
61
        jz      @f
60
        stdcall map_io_mem, [acpi_dev_data], [acpi_dev_size], PG_SWR
62
        stdcall map_io_mem, [acpi_dev_data], [acpi_dev_size], PG_SWR
61
        mov     [acpi_dev_data], eax
63
        mov     [acpi_dev_data], eax
-
 
64
        jmp     .loaded
Line 62... Line 65...
62
        jmp     .loaded
65
@@:
63
@@:
66
end if
64
 
67