VirtualBox

Ignore:
Timestamp:
Oct 11, 2008 12:36:36 PM (16 years ago)
Author:
vboxsync
Message:

BIOS: Detect devices behind bridges

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS/rombios.c

    r13158 r13190  
    97709770  shl ecx, #16
    97719771  mov cx, dx
    9772   xor bx, bx
     9772  xor ebx, ebx
    97739773  mov di, #0x00
    97749774pci_pro_devloop:
     
    97829782  dec si
    97839783pci_pro_nextdev:
    9784   inc bx
    9785   cmp bx, #0x0100
     9784  inc ebx
     9785  cmp ebx, #0x10000
    97869786  jne pci_pro_devloop
    97879787  mov ah, #0x86
     
    97909790  cmp al, #0x03
    97919791  jne pci_pro_f08
    9792   xor bx, bx
     9792  xor ebx, ebx
    97939793  mov di, #0x08
    97949794pci_pro_devloop2:
     
    98039803  dec si
    98049804pci_pro_nextdev2:
    9805   inc bx
    9806   cmp bx, #0x0100
     9805  inc ebx
     9806  cmp ebx, #0x10000
    98079807  jne pci_pro_devloop2
    98089808  mov ah, #0x86
     
    99549954  shl ecx, #16
    99559955  mov cx, dx
    9956   xor bx, bx
     9956  xor ebx, ebx
    99579957  mov di, #0x00
    99589958pci_real_devloop:
     
    99669966  dec si
    99679967pci_real_nextdev:
    9968   inc bx
    9969   cmp bx, #0x0100
     9968  inc ebx
     9969  cmp ebx, #0x10000
    99709970  jne pci_real_devloop
    99719971  mov dx, cx
     
    99769976  cmp al, #0x03
    99779977  jne pci_real_f08
    9978   xor bx, bx
     9978  xor ebx, ebx
    99799979  mov di, #0x08
    99809980pci_real_devloop2:
     
    99899989  dec si
    99909990pci_real_nextdev2:
    9991   inc bx
    9992   cmp bx, #0x0100
     9991  inc ebx
     9992  cmp ebx, #0x10000
    99939993  jne pci_real_devloop2
    99949994  mov dx, cx
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette