Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 7121 → Rev 7122

/kernel/trunk/bus/pci/pci16.inc
24,15 → 24,15
 
xor ax, ax
mov es, ax
mov byte [es:0x9020], 1;default mechanism:1
mov byte [es:BOOT_PCI_DATA], 1;default mechanism:1
mov ax, 0xb101
int 0x1a
or ah, ah
jnz pci16skip
 
mov [es:0x9021], cl;last PCI bus in system
mov [es:0x9022], bx
mov [es:0x9024], edi
mov [es:BOOT_PCI_DATA+1], cl;last PCI bus in system
mov [es:BOOT_PCI_DATA+2], bx
mov [es:BOOT_PCI_DATA+4], edi
 
; we have a PCI BIOS, so check which configuration mechanism(s)
; it supports
41,7 → 41,7
jnz pci16skip
test al, 2
jz pci16skip
mov byte [es:0x9020], 2; if (al&3)==2 => mechanism 2
mov byte [es:BOOT_PCI_DATA], 2; if (al&3)==2 => mechanism 2
 
pci16skip: