- Timestamp:
- Jul 2, 2012 8:56:03 PM (13 years ago)
- Location:
- trunk/src/VBox/Devices/PC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS-new/pcibios.inc
r40694 r41989 95 95 96 96 ifdef 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 99 107 mov dx, PCI_CFG1 100 108 out dx, eax -
trunk/src/VBox/Devices/PC/BIOS-new/pcicfg.inc
r40694 r41989 6 6 7 7 PCI_FIXED_HOST_BRIDGE_1 equ 12378086h ;; i440FX PCI bridge 8 PCI_FIXED_HOST_BRIDGE_2 equ 244 e8086h ;; ICH9 PCI bridge8 PCI_FIXED_HOST_BRIDGE_2 equ 24488086h ;; ICH9 PCI bridge 9 9 10 10 MAX_BUSDEVFN equ 10000h ; Max bus/dev/fn to search -
trunk/src/VBox/Devices/PC/BIOS/rombios.c
r41537 r41989 249 249 // i440FX is emulated by Bochs and QEMU 250 250 #define PCI_FIXED_HOST_BRIDGE_1 0x12378086 ;; i440FX PCI bridge 251 #define PCI_FIXED_HOST_BRIDGE_2 0x244 e8086 ;; ICH9 PCI bridge251 #define PCI_FIXED_HOST_BRIDGE_2 0x24488086 ;; ICH9 PCI bridge 252 252 253 253 // #20 is dec 20 … … 10203 10203 10204 10204 #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 10207 10215 mov dx, #0x0cf8 10208 10216 out dx, eax
Note:
See TracChangeset
for help on using the changeset viewer.