Rev 7733 | Rev 8111 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7733 | Rev 8092 | ||
---|---|---|---|
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: 7733 $ |
8 | $Revision: 8092 $ |
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 | ||
- | 58 | cmp [acpi_dev_size], 0 |
|
- | 59 | jz @f |
|
- | 60 | stdcall map_io_mem, [acpi_dev_data], [acpi_dev_size], PG_SWR |
|
- | 61 | mov [acpi_dev_data], eax |
|
- | 62 | jmp .loaded |
|
56 | jz .no_apic |
63 | @@: |
57 | 64 | ||
58 | stdcall load_file, dev_data_path |
65 | stdcall load_file, dev_data_path |
Line 59... | Line 66... | ||
59 | test eax, eax |
66 | test eax, eax |
60 | jz .no_apic |
67 | jz .no_apic |
- | 68 | ||
Line 61... | Line 69... | ||
61 | 69 | mov [acpi_dev_data], eax |
|
62 | mov [acpi_dev_data], eax |
70 | mov [acpi_dev_size], ebx |
63 | mov [acpi_dev_size], ebx |
71 | .loaded: |
64 | 72 |