Rev 9715 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9715 | Rev 9958 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2022. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2022. 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: 9715 $ |
8 | $Revision: 9958 $ |
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 56... | Line 56... | ||
56 | jz .no_apic |
56 | jz .no_apic |
57 | - | ||
58 | ; non-UEFI loaders don't load DEVICES.DAT and don't initialize [acpi_dev_size] |
57 | |
59 | if defined UEFI |
58 | ; non-UEFI loaders don't load DEVICES.DAT but they zero out [acpi_dev_size] |
60 | cmp [acpi_dev_size], 0 |
59 | cmp [acpi_dev_size], 0 |
61 | jz @f |
60 | jz @f |
62 | stdcall map_io_mem, [acpi_dev_data], [acpi_dev_size], PG_SWR |
61 | stdcall map_io_mem, [acpi_dev_data], [acpi_dev_size], PG_SWR |
63 | mov [acpi_dev_data], eax |
62 | mov [acpi_dev_data], eax |
64 | jmp .loaded |
- | |
Line 65... | Line 63... | ||
65 | @@: |
63 | jmp .loaded |
66 | end if |
64 | @@: |
67 | 65 |