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 8052 | ||
---|---|---|---|
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: 8052 $ |
9 | 9 | ||
10 | align 4 |
10 | align 4 |
11 | proc mem_test |
11 | proc mem_test |
Line 305... | Line 305... | ||
305 | push cs ; special for 'ret far' from BIOS |
305 | push cs ; special for 'ret far' from BIOS |
306 | call ebp |
306 | call ebp |
307 | test al, al |
307 | test al, al |
308 | jnz .PCI_BIOS32_not_found |
308 | jnz .PCI_BIOS32_not_found |
Line 309... | Line 309... | ||
309 | 309 | ||
Line 310... | Line 310... | ||
310 | ; здесь создаются дискрипторы для PCI BIOS |
310 | ; descriptors for PCI BIOS are created here |
311 | 311 | ||
312 | add ebx, OS_BASE |
312 | add ebx, OS_BASE |
313 | dec ecx |
313 | dec ecx |
Line 329... | Line 329... | ||
329 | mov [(pci_data_32-OS_BASE)+6], cx ;base 24-31 |
329 | mov [(pci_data_32-OS_BASE)+6], cx ;base 24-31 |
Line 330... | Line 330... | ||
330 | 330 | ||
331 | mov [(pci_bios_entry-OS_BASE)], edx |
331 | mov [(pci_bios_entry-OS_BASE)], edx |
332 | ; jmp .end |
332 | ; jmp .end |
333 | .PCI_BIOS32_not_found: |
333 | .PCI_BIOS32_not_found: |
334 | ; здесь должна заполнятся pci_emu_dat |
334 | ; pci_emu_dat structure should be filled here |
335 | .BIOS32_not_found: |
335 | .BIOS32_not_found: |
336 | .end: |
336 | .end: |
Line 337... | Line 337... | ||
337 | ret |
337 | ret |