vbox的更動 486 路徑 trunk/src/VBox/Devices/Bus
- 時間撮記:
- 2007-1-31 下午11:15:23 (18 年 以前)
- 位置:
- trunk/src/VBox/Devices/Bus
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/Bus/DevPCI.cpp
r463 r486 114 114 typedef struct PCIGLOBALS 115 115 { 116 /** Irq levels for the four PCI Irqs. */ 117 uint32_t pci_irq_levels[4][PCI_IRQ_WORDS]; 116 118 /** The base address for PCI assigned MMIO addresses. */ 117 119 RTGCPHYS pci_mem_base; … … 120 122 /** The next MMIO address which the PCI BIOS will use. */ 121 123 uint32_t pci_bios_mem_addr; 122 /** Irq levels for the four PCI Irqs. */123 uint32_t pci_irq_levels[4][PCI_IRQ_WORDS];124 124 /** I/O APIC usage flag */ 125 125 bool fUseIoApic; … … 149 149 uint32_t uConfigReg; 150 150 /** Array of PCI devices. */ 151 PPCIDEVICEdevices[256];151 HCPTRTYPE(PPCIDEVICE) devices[256]; 152 152 153 153 /** HC pointer to the device instance. */ … … 184 184 185 185 186 #ifndef VBOX_DEVICE_STRUCT_TESTCASE 186 187 /******************************************************************************* 187 188 * Internal Functions * … … 1557 1558 }; 1558 1559 #endif /* IN_RING3 */ 1559 1560 #endif /* !VBOX_DEVICE_STRUCT_TESTCASE */ -
trunk/src/VBox/Devices/Bus/PCIInternal.h
r1 r486 33 33 uint32_t size; 34 34 uint8_t type; /* PCIADDRESSSPACE */ 35 uint8_t padding[ 3];35 uint8_t padding[HC_ARCH_BITS == 32 ? 3 : 7]; 36 36 /** Callback called when the region is mapped. */ 37 37 HCPTRTYPE(PFNPCIIOREGIONMAP) map_func; … … 50 50 typedef struct PCIDEVICEINT 51 51 { 52 /** I/O regions. */ 53 PCIIOREGION aIORegions[PCI_NUM_REGIONS]; 52 54 /** Pointer to the PCI bus of the device. */ 53 HCPTRTYPE(struct PCIBus *) pBus;55 R3PTRTYPE(struct PCIBus *) pBus; 54 56 /** Read config callback. */ 55 HCPTRTYPE(PFNPCICONFIGREAD) pfnConfigRead;57 R3PTRTYPE(PFNPCICONFIGREAD) pfnConfigRead; 56 58 /** Write config callback. */ 57 HCPTRTYPE(PFNPCICONFIGWRITE) pfnConfigWrite;59 R3PTRTYPE(PFNPCICONFIGWRITE) pfnConfigWrite; 58 60 /** The irq assigned to the device. */ 59 61 int32_t iIrq; … … 61 63 * If clear the device and it's functions can be relocated to satisfy the slot request of another device. */ 62 64 bool fRequestedDevFn; 63 /** I/O regions. */64 PCIIOREGION aIORegions[PCI_NUM_REGIONS];65 65 } PCIDEVICEINT; 66 66
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器