VirtualBox

Changeset 41989 in vbox for trunk/src


Ignore:
Timestamp:
Jul 2, 2012 8:56:03 PM (13 years ago)
Author:
vboxsync
Message:

BIOS: properly detect the ICH9 bridge (fixes PXE with ICH9)

Location:
trunk/src/VBox/Devices/PC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS-new/pcibios.inc

    r40694 r41989  
    9595
    9696ifdef PCI_FIXED_HOST_BRIDGE_2
    97                 ; 1Eh << 11
    98                 mov     eax, 8000f000h
     97                ; 18h << 11
     98                mov     eax, 8000c000h
     99                mov     dx, PCI_CFG1
     100                out     dx, eax
     101                mov     dx, PCI_CFG2
     102                in      eax, dx
     103                cmp     eax, PCI_FIXED_HOST_BRIDGE_2
     104                je      pci_present
     105                ; 19h << 11
     106                mov     eax, 8000c800h
    99107                mov     dx, PCI_CFG1
    100108                out     dx, eax
  • trunk/src/VBox/Devices/PC/BIOS-new/pcicfg.inc

    r40694 r41989  
    66
    77PCI_FIXED_HOST_BRIDGE_1 equ     12378086h       ;; i440FX PCI bridge
    8 PCI_FIXED_HOST_BRIDGE_2 equ     244e8086h       ;; ICH9 PCI bridge
     8PCI_FIXED_HOST_BRIDGE_2 equ     24488086h       ;; ICH9 PCI bridge
    99
    1010MAX_BUSDEVFN            equ     10000h          ; Max bus/dev/fn to search
  • trunk/src/VBox/Devices/PC/BIOS/rombios.c

    r41537 r41989  
    249249// i440FX is emulated by Bochs and QEMU
    250250#define PCI_FIXED_HOST_BRIDGE_1  0x12378086 ;; i440FX PCI bridge
    251 #define PCI_FIXED_HOST_BRIDGE_2  0x244e8086 ;; ICH9 PCI bridge
     251#define PCI_FIXED_HOST_BRIDGE_2  0x24488086 ;; ICH9 PCI bridge
    252252
    253253// #20  is dec 20
     
    1020310203
    1020410204#ifdef PCI_FIXED_HOST_BRIDGE_2
    10205   /* 0x1e << 11 */
    10206   mov eax, #0x8000f000
     10205  /* 0x18 << 11 */
     10206  mov eax, #0x8000c000
     10207  mov dx, #0x0cf8
     10208  out dx, eax
     10209  mov dx, #0x0cfc
     10210  in  eax, dx
     10211  cmp eax, #PCI_FIXED_HOST_BRIDGE_2
     10212  je pci_present
     10213  /* 0x19 << 11 */
     10214  mov eax, #0x8000c800
    1020710215  mov dx, #0x0cf8
    1020810216  out dx, eax
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