Rev 2465 | Rev 3725 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2465 | Rev 3555 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2012. 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: 2465 $ |
8 | $Revision: 3555 $ |
9 | 9 | ||
10 | 10 | ||
Line 308... | Line 308... | ||
308 | push cs ; special for 'ret far' from BIOS |
308 | push cs ; special for 'ret far' from BIOS |
309 | call ebp |
309 | call ebp |
310 | test al, al |
310 | test al, al |
311 | jnz .PCI_BIOS32_not_found |
311 | jnz .PCI_BIOS32_not_found |
Line 312... | Line 312... | ||
312 | 312 | ||
Line 313... | Line 313... | ||
313 | ; çäåñü ñîçäàþòñÿ äèñêðèïòîðû äëÿ PCI BIOS |
313 | ; здесь создаются дискрипторы для PCI BIOS |
314 | 314 | ||
315 | add ebx, OS_BASE |
315 | add ebx, OS_BASE |
316 | dec ecx |
316 | dec ecx |
Line 332... | Line 332... | ||
332 | mov [(pci_data_32-OS_BASE)+6], cx ;base 24-31 |
332 | mov [(pci_data_32-OS_BASE)+6], cx ;base 24-31 |
Line 333... | Line 333... | ||
333 | 333 | ||
334 | mov [(pci_bios_entry-OS_BASE)], edx |
334 | mov [(pci_bios_entry-OS_BASE)], edx |
335 | ; jmp .end |
335 | ; jmp .end |
336 | .PCI_BIOS32_not_found: |
336 | .PCI_BIOS32_not_found: |
337 | ; çäåñü äîëæíà çàïîëíÿòñÿ pci_emu_dat |
337 | ; здесь должна заполнятся pci_emu_dat |
338 | .BIOS32_not_found: |
338 | .BIOS32_not_found: |
339 | .end: |
339 | .end: |
Line 340... | Line 340... | ||
340 | ret |
340 | ret |